diff --git a/mercurial/debugcommands.py b/mercurial/debugcommands.py --- a/mercurial/debugcommands.py +++ b/mercurial/debugcommands.py @@ -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))