Mercurial > public > mercurial-scm > hg
diff mercurial/commands.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 | 7dc1a21d57cc |
children | ff541b8cdee0 |
line wrap: on
line diff
--- a/mercurial/commands.py Sun Mar 04 07:40:21 2018 -0800 +++ b/mercurial/commands.py Sun Mar 04 22:33:59 2018 +0530 @@ -1197,7 +1197,7 @@ bcompression, cgversion, params = exchange.parsebundlespec( repo, bundletype, strict=False) except error.UnsupportedBundleSpecification as e: - raise error.Abort(str(e), + raise error.Abort(pycompat.bytestr(e), hint=_("see 'hg help bundlespec' for supported " "values for --type"))