--- a/hgext/show.py Sun Apr 15 19:41:34 2018 +0800
+++ b/hgext/show.py Fri Apr 13 10:36:03 2018 -0700
@@ -447,10 +447,8 @@
"""
if not revs:
return minlen
- # don't use filtered repo because it's slow. see templater.shortest().
cl = repo.changelog
- return max(len(scmutil.shortesthexnodeidprefix(repo.unfiltered(),
- hex(cl.node(r)),
+ return max(len(scmutil.shortesthexnodeidprefix(repo, hex(cl.node(r)),
minlen)) for r in revs)
# Adjust the docstring of the show command so it shows all registered views.