diff -r 49a8c2cc7978 -r 901e749ca0e1 mercurial/context.py --- a/mercurial/context.py Mon Mar 19 20:23:27 2018 +0900 +++ b/mercurial/context.py Sun Apr 08 08:06:34 2018 -0700 @@ -450,7 +450,7 @@ except KeyError: pass - self._node = repo.unfiltered().changelog._partialmatch(changeid) + self._node = scmutil.resolvepartialhexnodeid(repo, changeid) if self._node is not None: self._rev = repo.changelog.rev(self._node) return