D7484: localrepo: mark nullrev has never filtered

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Sat Nov 23 19:45:06 EST 2019


This revision is now accepted and ready to land.
indygreg added inline comments.
indygreg accepted this revision.

INLINE COMMENTS

> localrepo.py:1535
>          if changeid == b'null' or changeid == nullrev:
> -            return context.changectx(self, nullrev, nullid)
> +            return context.changectx(self, nullrev, nullid, False)
>          if changeid == b'tip':

I'm going to add a named argument in flight because I like readability.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7484/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D7484

To: marmoute, #hg-reviewers, indygreg
Cc: indygreg, mercurial-devel


More information about the Mercurial-devel mailing list