Mercurial > hg
comparison tests/test-help-hide.t @ 40412:ab09e797fbed
help: allow commands to be hidden
This is useful in enterprise environments where some workflows are
discouraged.
Differential Revision: https://phab.mercurial-scm.org/D5076
author | rdamazio@google.com |
---|---|
date | Sat, 13 Oct 2018 05:02:55 -0700 |
parents | |
children | 1ddd202c47d9 |
comparison
equal
deleted
inserted
replaced
40411:bad46c934c31 | 40412:ab09e797fbed |
---|---|
1 Test hiding some commands (which also happens to hide an entire category). | |
2 | |
3 $ hg --config help.hidden-command.clone=true \ | |
4 > --config help.hidden-command.init=true help | |
5 Mercurial Distributed SCM | |
6 | |
7 list of commands: | |
8 | |
9 Remote repository management: | |
10 | |
11 incoming show new changesets found in source | |
12 outgoing show changesets not found in the destination | |
13 paths show aliases for remote repositories | |
14 pull pull changes from the specified source | |
15 push push changes to the specified destination | |
16 serve start stand-alone webserver | |
17 | |
18 Change creation: | |
19 | |
20 commit commit the specified files or all outstanding changes | |
21 | |
22 Change manipulation: | |
23 | |
24 backout reverse effect of earlier changeset | |
25 graft copy changes from other branches onto the current branch | |
26 merge merge another revision into working directory | |
27 | |
28 Change organization: | |
29 | |
30 bookmarks create a new bookmark or list existing bookmarks | |
31 branch set or show the current branch name | |
32 branches list repository named branches | |
33 phase set or show the current phase name | |
34 tag add one or more tags for the current or given revision | |
35 tags list repository tags | |
36 | |
37 File content management: | |
38 | |
39 annotate show changeset information by line for each file | |
40 cat output the current or given revision of files | |
41 copy mark files as copied for the next commit | |
42 diff diff repository (or selected files) | |
43 grep search revision history for a pattern in specified files | |
44 | |
45 Change navigation: | |
46 | |
47 bisect subdivision search of changesets | |
48 heads show branch heads | |
49 identify identify the working directory or specified revision | |
50 log show revision history of entire repository or files | |
51 | |
52 Working directory management: | |
53 | |
54 add add the specified files on the next commit | |
55 addremove add all new files, delete all missing files | |
56 files list tracked files | |
57 forget forget the specified files on the next commit | |
58 remove remove the specified files on the next commit | |
59 rename rename files; equivalent of copy + remove | |
60 resolve redo merges or set/view the merge status of files | |
61 revert restore files to their checkout state | |
62 root print the root (top) of the current working directory | |
63 status show changed files in the working directory | |
64 summary summarize working directory state | |
65 update update working directory (or switch revisions) | |
66 | |
67 Change import/export: | |
68 | |
69 archive create an unversioned archive of a repository revision | |
70 bundle create a bundle file | |
71 export dump the header and diffs for one or more changesets | |
72 import import an ordered set of patches | |
73 unbundle apply one or more bundle files | |
74 | |
75 Repository maintenance: | |
76 | |
77 manifest output the current or given revision of the project manifest | |
78 recover roll back an interrupted transaction | |
79 verify verify the integrity of the repository | |
80 | |
81 Help: | |
82 | |
83 config show combined config settings from all hgrc files | |
84 help show help for a given topic or a help overview | |
85 version output version and copyright information | |
86 | |
87 additional help topics: | |
88 | |
89 Mercurial identifiers: | |
90 | |
91 filesets Specifying File Sets | |
92 hgignore Syntax for Mercurial Ignore Files | |
93 patterns File Name Patterns | |
94 revisions Specifying Revisions | |
95 urls URL Paths | |
96 | |
97 Mercurial output: | |
98 | |
99 color Colorizing Outputs | |
100 dates Date Formats | |
101 diffs Diff Formats | |
102 templating Template Usage | |
103 | |
104 Mercurial configuration: | |
105 | |
106 config Configuration Files | |
107 environment Environment Variables | |
108 extensions Using Additional Features | |
109 flags Command-line flags | |
110 hgweb Configuring hgweb | |
111 merge-tools Merge Tools | |
112 pager Pager Support | |
113 | |
114 Concepts: | |
115 | |
116 bundlespec Bundle File Formats | |
117 glossary Glossary | |
118 phases Working with Phases | |
119 subrepos Subrepositories | |
120 | |
121 Miscellaneous: | |
122 | |
123 deprecated Deprecated Features | |
124 internals Technical implementation topics | |
125 scripting Using Mercurial from scripts and automation | |
126 | |
127 (use 'hg help -v' to show built-in aliases and global options) |