Is there a way to get the changes of two commits with mercurial? The second commit is not directly after the first one, there are some other ones between them.
I tried
hg diff [some params] --change xxxxx --change yyyyy > file.patch
but that only includes the last changeset.
If there is no way to achieve this with hg, is there maybe a tool to combine patches?
I came upon this page while trying to figure this very thing out. I found my solution via hg help diff
.
hg diff -r <rev> -r <rev>
worked for my needs (diffing between two tags)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With