Mercurial > hg
diff mercurial/ancestor.py @ 25737:1a5211f2f87f
node: define experimental identifiers for working directory
The "ff..." node was introduced at 183965a00c76, and we also need an integer
that can be processed in revset. We could use len(repo), but it would be
likely to hide possible bugs. Instead, using INT_MAX, we can notice such bugs
by IndexError, at the cost of handling non-contiguous revisions.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Mon, 22 Jun 2015 22:01:33 +0900 |
parents | 7125225a5287 |
children | 7ef98b38163f |