mercurial/debugcommands.py
changeset 35465 3bb1a647ab42
parent 35454 786289423e97
child 35469 f1c54d003327
--- a/mercurial/debugcommands.py	Thu Dec 21 21:35:20 2017 +0800
+++ b/mercurial/debugcommands.py	Mon Dec 18 17:33:08 2017 -0800
@@ -2307,10 +2307,6 @@
     cache = {}
     ctx2str = str
     node2str = short
-    if ui.debug():
-        def ctx2str(ctx):
-            return ctx.hex()
-        node2str = hex
     for rev in scmutil.revrange(repo, revs):
         ctx = repo[rev]
         ui.write('%s\n'% ctx2str(ctx))