mercurial/scmutil.py
changeset 37678 5f8f013e7d52
parent 37677 41ac707322ba
child 37679 ab828755e1ea
--- a/mercurial/scmutil.py	Fri Apr 13 09:48:22 2018 -0700
+++ b/mercurial/scmutil.py	Fri Apr 13 22:46:37 2018 -0700
@@ -434,8 +434,8 @@
         hexfunc = short
     return '%d:%s' % (rev, hexfunc(node))
 
-def resolvepartialhexnodeid(repo, prefix):
-    # Uses unfiltered repo because it's faster when then prefix is ambiguous/
+def resolvehexnodeidprefix(repo, prefix):
+    # Uses unfiltered repo because it's faster when prefix is ambiguous/
     # This matches the "shortest" template function.
     node = repo.unfiltered().changelog._partialmatch(prefix)
     if node is None: