# HG changeset patch # User Augie Fackler # Date 2018-03-02 05:37:33 # Node ID 149fd142f498af78f843fbf10f669e99012b13d3 # Parent d85ef895d5f6044d75b5827e4c4fe623f62ce04f debugcommands: fix repr in debugignore print with pycompat.bytestr Differential Revision: https://phab.mercurial-scm.org/D2549 diff --git a/mercurial/debugcommands.py b/mercurial/debugcommands.py --- a/mercurial/debugcommands.py +++ b/mercurial/debugcommands.py @@ -1005,7 +1005,7 @@ def debugignore(ui, repo, *files, **opts 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():