Mercurial: when did we last merge?

Wondering when you last did a merge between two branches with Mercurial? If you’re merging frequently (you are, aren’t you?), you should be able to tell by looking at the graph view. However, the graph view might be complex, particularly if it’s been a long time. So try this:

hg debugancestor revision1 revision2

which could also be

hg debugancestor branchName1 branchName2
It's only fair to share...
Share on Facebook
Tweet about this on Twitter
Share on LinkedIn

Leave a Reply