414
Comment: Starting from Mercurial 1.7 you can use such syntax (example show nested queries syntax)
|
← Revision 4 as of 2011-10-11 20:13:08 ⇥
412
|
Deletions are marked like this. | Additions are marked like this. |
Line 12: | Line 12: |
Starting from Mercurial 1.7 you can use such syntax (example show nested queries syntax): | Starting from Mercurial 1.7 you can use such syntax (example show nested query syntax): |
Find common ancestor of two revisions
hg debugancestor rev1 rev2
In older hg versions, you have to explicitly tell it to use the changelog, i.e.
hg debugancestor .hg/store/00changelog.i rev1 rev2
Starting from Mercurial 1.7 you can use such syntax (example show nested query syntax):
hg log -r "ancestor(rev1,ancestor(rev2,rev3))"