mercurial/context.py
changeset 37504 901e749ca0e1
parent 37448 d7114f883505
child 37532 8475c9bf096d
--- 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