Submitter | Yuya Nishihara |
---|---|
Date | July 9, 2018, 1:24 p.m. |
Message ID | <a695979732a9b26b78e4.1531142675@mimosa> |
Download | mbox | patch |
Permalink | /patch/32703/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/error.py b/mercurial/error.py --- a/mercurial/error.py +++ b/mercurial/error.py @@ -241,7 +241,7 @@ class BundleUnknownFeatureError(BundleVa if val is None: entries.append(val) else: - entries.append("%s=%r" % (par, val)) + entries.append("%s=%r" % (par, pycompat.maybebytestr(val))) if entries: msg = '%s - %s' % (msg, ', '.join(entries)) ValueError.__init__(self, msg)