tags:

views:

162

answers:

2

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?

+3  A: 

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)

the daniel
You can diff between any two revisions, they don't need to be tagged.
Johannes Rudolph
Thanks for the answer!
DerKuchen
A: 
Chris McCauley