debugcommands: fix repr in debugignore print with pycompat.bytestr
authorAugie Fackler <augie@google.com>
Fri, 02 Mar 2018 00:37:33 -0500
changeset 36578 149fd142f498
parent 36577 d85ef895d5f6
child 36579 be27c4e310bd
debugcommands: fix repr in debugignore print with pycompat.bytestr Differential Revision: https://phab.mercurial-scm.org/D2549
mercurial/debugcommands.py
--- 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():