D3189: context: extract partial nodeid lookup method to scmutil

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Tue Apr 10 15:35:07 UTC 2018


martinvonz added inline comments.

INLINE COMMENTS

> yuja wrote in scmutil.py:439
> I could add it if you're happy with the following change.
> 
>   node = repo.unfiltered().changelog._partialmatch(prefix)
>   repo.changelog.rev(node)  # make sure node isn't filtered
>   return node

LGTM. Thank you!

REPOSITORY
  rHG Mercurial

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

To: martinvonz, #hg-reviewers, yuja
Cc: yuja, mercurial-devel


More information about the Mercurial-devel mailing list