comparison mercurial/fancyopts.py @ 25764:22049b565d57

localrepo: provide workingctx by integer revision This allows us to use the integer representation in revset. None doesn't work well while computing revset because revset heavily depends on and optimized for integer revisions. Still repo[wdirrev].rev() is None, which means the canonical form of the working-directory revision is None. This patch doesn't add the case for the wdirid because we can't handle short and ambiguous identifiers here. Perhaps, the wdirid will have to be handled in the changelog layer.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 16 Aug 2014 13:25:45 +0900
parents 69e8384a436c
children 6002e2d95e54
comparison
equal deleted inserted replaced
25763:60c791592aa7 25764:22049b565d57