changeset 36578:149fd142f498

debugcommands: fix repr in debugignore print with pycompat.bytestr Differential Revision: https://phab.mercurial-scm.org/D2549
author Augie Fackler <augie@google.com>
date Fri, 02 Mar 2018 00:37:33 -0500
parents d85ef895d5f6
children be27c4e310bd
files mercurial/debugcommands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/debugcommands.py	Thu Mar 01 23:58:28 2018 -0500
+++ b/mercurial/debugcommands.py	Fri Mar 02 00:37:33 2018 -0500
@@ -1005,7 +1005,7 @@
     ignore = repo.dirstate._ignore
     if not files:
         # Show all the patterns
-        ui.write("%s\n" % repr(ignore))
+        ui.write("%s\n" % pycompat.byterepr(ignore))
     else:
         m = scmutil.match(repo[None], pats=files)
         for f in m.files():