--- 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: