I have a revision hash key. I would like to get the closest revision that contains anything, but the .hgtags.
For instance, consider the following fragment of a Mercurial history:
d:\CI\NC\8.0>hg log -l3 -v changeset: 1768:633cf1f61665 branch: 8.0 tag: tip user: ci date: Wed Nov 16 21:06:20 2011 +0200 files: .hgtags description: Replaced tag 'good.NC.16' with 'rejected.NC.16' for changeset 9451e8f187b1 changeset: 1767:6cad328c622c branch: 8.0 parent: 1765:9451e8f187b1 user: ci date: Wed Nov 16 21:04:26 2011 +0200 files: .hgtags description: Added tag 'good.NC.16' for changeset 9451e8f187b1 changeset: 1766:17226ae57082 branch: 7.0 parent: 1642:02263135b9b7 user: Mark Kharitonov <firstname.lastname@example.org> date: Thu Nov 10 16:20:14 2011 +0200 files: .hgignore description: Ignore more files
In this case, if the given revision is
633cf1f61665, then I am looking for the revision
17226ae57082, because it is the closest one, which contains not just .hgtags, but something else.
633cf1f61665, can I locate
17226ae57082 using as few hg.exe invocations as possible?