mercurial/scmutil.py
changeset 37767 44d1959acb3b
parent 37762 7269b87f817c
child 37865 da083d9fafab
--- a/mercurial/scmutil.py	Fri Apr 06 11:13:47 2018 -0400
+++ b/mercurial/scmutil.py	Mon Apr 16 23:29:09 2018 -0700
@@ -448,7 +448,7 @@
     # _partialmatch() of filtered changelog could take O(len(repo)) time,
     # which would be unacceptably slow. so we look for hash collision in
     # unfiltered space, which means some hashes may be slightly longer.
-    return repo.unfiltered().changelog.shortest(hex(node), minlength)
+    return repo.unfiltered().changelog.shortest(node, minlength)
 
 def isrevsymbol(repo, symbol):
     """Checks if a symbol exists in the repo.