D3189: context: extract partial nodeid lookup method to scmutil

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Tue Apr 10 11:07:55 EDT 2018


yuja added inline comments.

INLINE COMMENTS

> martinvonz wrote in scmutil.py:439
> Makes sense. Okay if I do that in a follow-up so the rest of the stack is not blocked by this (I will be away until Friday)?

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

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