changeset 32406 | 952017471f93 |
parent 32377 | c942c83ac2ec |
child 32411 | 08d02c1d7e67 |
--- a/mercurial/debugcommands.py Mon May 22 10:41:32 2017 -0700 +++ b/mercurial/debugcommands.py Mon May 22 11:08:18 2017 -0700 @@ -810,11 +810,7 @@ ignore = repo.dirstate._ignore if not files: # Show all the patterns - includepat = getattr(ignore, 'includepat', None) - if includepat is not None: - ui.write("%s\n" % includepat) - else: - raise error.Abort(_("no ignore patterns found")) + ui.write("%s\n" % repr(ignore)) else: for f in files: nf = util.normpath(f)