diff mercurial/match.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 ff5172c83002
children 3de48ff62733
line wrap: on
line diff