mercurial/debugcommands.py
changeset 36578 149fd142f498
parent 36534 5faeabb07cf5
child 36586 ff6b8484400b
--- 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():