changeset 36123:8eb13f5d5d3f

py3: convert context to bytes instead of str This yields identical behavior on Python 2 and 3. Differential Revision: https://phab.mercurial-scm.org/D2174
author Gregory Szorc <gregory.szorc@gmail.com>
date Sun, 11 Feb 2018 19:26:53 -0800
parents 7db243288afb
children 976a9fd706ed
files mercurial/debugcommands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/debugcommands.py	Sun Feb 11 19:24:27 2018 -0800
+++ b/mercurial/debugcommands.py	Sun Feb 11 19:26:53 2018 -0800
@@ -2356,7 +2356,7 @@
     """
     # passed to successorssets caching computation from one call to another
     cache = {}
-    ctx2str = str
+    ctx2str = bytes
     node2str = short
     for rev in scmutil.revrange(repo, revs):
         ctx = repo[rev]