Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commands.py @ 33117:a5e1393f61a2
py3: use pycompat.bytestr instead of str
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Mon, 26 Jun 2017 17:23:10 +0530 |
parents | d170f59f6f55 |
children | b5612dbe72a3 |
line wrap: on
line diff
--- a/mercurial/commands.py Mon Jun 26 17:22:45 2017 +0530 +++ b/mercurial/commands.py Mon Jun 26 17:23:10 2017 +0530 @@ -324,7 +324,7 @@ return '%s ' % hex else: hexfn = rootfm.hexfunc - formatrev = formathex = str + formatrev = formathex = pycompat.bytestr opmap = [('user', ' ', lambda x: x[0].user(), ui.shortuser), ('number', ' ', lambda x: x[0].rev(), formatrev),