Show More
@@ -1659,8 +1659,9 b' def debuggetbundle(ui, repopath, bundlep' | |||||
1659 | def debugignore(ui, repo, *values, **opts): |
|
1659 | def debugignore(ui, repo, *values, **opts): | |
1660 | """display the combined ignore pattern""" |
|
1660 | """display the combined ignore pattern""" | |
1661 | ignore = repo.dirstate._ignore |
|
1661 | ignore = repo.dirstate._ignore | |
1662 |
i |
|
1662 | includepat = getattr(ignore, 'includepat', None) | |
1663 | ui.write("%s\n" % ignore.includepat) |
|
1663 | if includepat is not None: | |
|
1664 | ui.write("%s\n" % includepat) | |||
1664 | else: |
|
1665 | else: | |
1665 | raise util.Abort(_("no ignore patterns found")) |
|
1666 | raise util.Abort(_("no ignore patterns found")) | |
1666 |
|
1667 |
General Comments 0
You need to be logged in to leave comments.
Login now