##// END OF EJS Templates
help: let 'hg help debug' show the list of secret debug commands...
Mads Kiilerich -
r20822:be87397f default
parent child Browse files
Show More
@@ -311,6 +311,8 b' def help_(ui, name, unknowncmd=False, fu'
311 # list of commands
311 # list of commands
312 if name == "shortlist":
312 if name == "shortlist":
313 header = _('basic commands:\n\n')
313 header = _('basic commands:\n\n')
314 elif name == "debug":
315 header = _('debug commands (internal and unsupported):\n\n')
314 else:
316 else:
315 header = _('list of commands:\n\n')
317 header = _('list of commands:\n\n')
316
318
@@ -326,7 +328,7 b' def help_(ui, name, unknowncmd=False, fu'
326 if name == "shortlist" and not f.startswith("^"):
328 if name == "shortlist" and not f.startswith("^"):
327 continue
329 continue
328 f = f.lstrip("^")
330 f = f.lstrip("^")
329 if not ui.debugflag and f.startswith("debug"):
331 if not ui.debugflag and f.startswith("debug") and name != "debug":
330 continue
332 continue
331 doc = e[0].__doc__
333 doc = e[0].__doc__
332 if doc and 'DEPRECATED' in doc and not ui.verbose:
334 if doc and 'DEPRECATED' in doc and not ui.verbose:
@@ -782,6 +782,67 b' Test that default list of commands omits'
782 use "hg -v help" to show builtin aliases and global options
782 use "hg -v help" to show builtin aliases and global options
783
783
784
784
785 Test list of internal help commands
786
787 $ hg help debug
788 debug commands (internal and unsupported):
789
790 debugancestor
791 find the ancestor revision of two revisions in a given index
792 debugbuilddag
793 builds a repo with a given DAG from scratch in the current
794 empty repo
795 debugbundle lists the contents of a bundle
796 debugcheckstate
797 validate the correctness of the current dirstate
798 debugcommands
799 list all available commands and options
800 debugcomplete
801 returns the completion list associated with the given command
802 debugdag format the changelog or an index DAG as a concise textual
803 description
804 debugdata dump the contents of a data file revision
805 debugdate parse and display a date
806 debugdirstate
807 show the contents of the current dirstate
808 debugdiscovery
809 runs the changeset discovery protocol in isolation
810 debugfileset parse and apply a fileset specification
811 debugfsinfo show information detected about current filesystem
812 debuggetbundle
813 retrieves a bundle from a repo
814 debugignore display the combined ignore pattern
815 debugindex dump the contents of an index file
816 debugindexdot
817 dump an index DAG as a graphviz dot file
818 debuginstall test Mercurial installation
819 debugknown test whether node ids are known to a repo
820 debuglabelcomplete
821 complete "labels" - tags, open branch names, bookmark names
822 debugobsolete
823 create arbitrary obsolete marker
824 debugoptDEP (no help text available)
825 debugpathcomplete
826 complete part or all of a tracked path
827 debugpushkey access the pushkey key/value protocol
828 debugpvec (no help text available)
829 debugrebuilddirstate
830 rebuild the dirstate as it would look like for the given
831 revision
832 debugrename dump rename information
833 debugrevlog show data and statistics about a revlog
834 debugrevspec parse and apply a revision specification
835 debugsetparents
836 manually set the parents of the current working directory
837 debugsub (no help text available)
838 debugsuccessorssets
839 show set of successors for revision
840 debugwalk show how files match on given patterns
841 debugwireargs
842 (no help text available)
843
844 use "hg -v help debug" to show builtin aliases and global options
845
785
846
786 Test list of commands with command with no help text
847 Test list of commands with command with no help text
787
848
General Comments 0
You need to be logged in to leave comments. Login now