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

mharbison72 (Matt Harbison) phabricator at mercurial-scm.org
Sun Dec 8 03:12:58 UTC 2019


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

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 = {}



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


More information about the Mercurial-devel mailing list