Mercurial > hg
comparison mercurial/localrepo.py @ 39894:d739f423bf06
repo: look up nullrev context by revnum, not symbolic name
I think lookup of the 'null' symbol should be done via
scmutil.revsymbol() and repo['null'] is only supported for historical
reasons. However, repo[nullrev] is fine, so we can switch to that
instead of switching to scmutil.revsymbol('null').
Differential Revision: https://phab.mercurial-scm.org/D4780
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Wed, 26 Sep 2018 22:17:34 -0700 |
parents | 823a580448d7 |
children | e1e3d1b498d3 |
comparison
equal
deleted
inserted
replaced
39893:f6874567a93b | 39894:d739f423bf06 |
---|