Patchwork D7583: exchange: fix an attempt to format a list into bytes

login
register
mail settings
Submitter phabricator
Date Dec. 8, 2019, 3:12 a.m.
Message ID <differential-rev-PHID-DREV-hg5qw54ortj36sypw3jn-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/43648/
State Superseded
Headers show

Comments

phabricator - Dec. 8, 2019, 3:12 a.m.
mharbison72 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  This goes with 27c6d6f53d46 <https://phab.mercurial-scm.org/rHG27c6d6f53d469e5af70ebb078ae9376b3cf7b237>.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D7583

AFFECTED FILES
  mercurial/exchange.py

CHANGE DETAILS




To: mharbison72, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/mercurial/exchange.py b/mercurial/exchange.py
--- a/mercurial/exchange.py
+++ b/mercurial/exchange.py
@@ -2202,7 +2202,7 @@ 
     if invalid_includes:
         raise error.Abort(
             _(b"The following includes are not accessible for %s: %s")
-            % (username, invalid_includes)
+            % (username, stringutil.pprint(invalid_includes))
         )
 
     new_args = {}