Mercurial > public > mercurial-scm > hg
diff mercurial/debugcommands.py @ 36719:390d16ea7c76
py3: use pycompat.bytestr instead of str
Differential Revision: https://phab.mercurial-scm.org/D2648
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Sun, 04 Mar 2018 22:33:59 +0530 |
parents | c6061cadb400 |
children | 7a25f6cfebe8 |
line wrap: on
line diff
--- a/mercurial/debugcommands.py Sun Mar 04 07:40:21 2018 -0800 +++ b/mercurial/debugcommands.py Sun Mar 04 22:33:59 2018 +0530 @@ -1811,7 +1811,7 @@ if keyinfo: key, old, new = keyinfo r = target.pushkey(namespace, key, old, new) - ui.status(str(r) + '\n') + ui.status(pycompat.bytestr(r) + '\n') return not r else: for k, v in sorted(target.listkeys(namespace).iteritems()):