D3324: py3: use stringutil.forcebytestr() instead of str()
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Fri Apr 13 18:23:07 EDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGfc114a16a484: py3: use stringutil.forcebytestr() instead of str() (authored by pulkit, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D3324?vs=8144&id=8200
REVISION DETAIL
https://phab.mercurial-scm.org/D3324
AFFECTED FILES
mercurial/exchange.py
CHANGE DETAILS
diff --git a/mercurial/exchange.py b/mercurial/exchange.py
--- a/mercurial/exchange.py
+++ b/mercurial/exchange.py
@@ -2291,7 +2291,7 @@
continue
except error.InvalidBundleSpecification as e:
- repo.ui.debug(str(e) + '\n')
+ repo.ui.debug(stringutil.forcebytestr(e) + '\n')
continue
except error.UnsupportedBundleSpecification as e:
repo.ui.debug('filtering %s because unsupported bundle '
To: pulkit, #hg-reviewers, durin42
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list