##// END OF EJS Templates
Added missing doc strings for two new debug commmands.
Thomas Arendsen Hein -
r1053:1539ca09 default
parent child Browse files
Show More
@@ -595,6 +595,7 b' def debugcheckstate(ui, repo):'
595 raise util.Abort(".hg/dirstate inconsistent with current parent's manifest")
595 raise util.Abort(".hg/dirstate inconsistent with current parent's manifest")
596
596
597 def debugconfig(ui):
597 def debugconfig(ui):
598 """show combined config settings from all hgrc files"""
598 try:
599 try:
599 repo = hg.repository(ui)
600 repo = hg.repository(ui)
600 except: pass
601 except: pass
@@ -641,6 +642,7 b' def debugindexdot(ui, file_):'
641 ui.write("}\n")
642 ui.write("}\n")
642
643
643 def debugwalk(ui, repo, *pats, **opts):
644 def debugwalk(ui, repo, *pats, **opts):
645 """show how files match on given patterns"""
644 items = list(walk(repo, pats, opts))
646 items = list(walk(repo, pats, opts))
645 if not items: return
647 if not items: return
646 fmt = '%%s %%-%ds %%-%ds %%s' % (
648 fmt = '%%s %%-%ds %%-%ds %%s' % (
General Comments 0
You need to be logged in to leave comments. Login now