marmoute created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers.
REVISION SUMMARY "." is just an aliast for `p1(wdir()`, let us handle it that way. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D7494 AFFECTED FILES mercurial/localrepo.py CHANGE DETAILS diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -1540,6 +1540,9 @@ pair = (rev, node) quick[rev] = pair quick[node] = pair + p1node = self.dirstate.p1() + if p1node != nullid: + quick[b'.'] = quick[p1node] return quick @unfilteredmethod To: marmoute, #hg-reviewers Cc: mercurial-devel _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel