Mercurial: Creating a diff of two commits

Posted by DerKuchen on Stack Overflow See other posts from Stack Overflow or by DerKuchen
Published on 2010-05-03T19:58:09Z Indexed on 2010/05/24 6:21 UTC
Read the original article Hit count: 421

Filed under:
|

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?

© Stack Overflow or respective owner

Related posts about diff

Related posts about hg