annotate mercurial/testing/__init__.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 |
ae531f5e583c |
children |
99c629101b73 |