author | Martin von Zweigbergk <martinvonz@google.com> |
Mon, 13 Jan 2020 11:18:29 -0800 | |
changeset 44095 | e733c59f3c09 |
parent 43305 | d782cce137fd |
child 46368 | bb3a5c0df06b |
permissions | -rw-r--r-- |
40412 | 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) |
|
43305
d782cce137fd
grep: update docs to reflect new --all-files default
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
42541
diff
changeset
|
43 |
grep search for a pattern in specified files |
40412 | 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 |
|
42541
3de4f17f4824
shelve: move shelve extension to core
Navaneeth Suresh <navaneeths1998@gmail.com>
parents:
40413
diff
changeset
|
63 |
shelve save and set aside changes from the working directory |
40412 | 64 |
status show changed files in the working directory |
65 |
summary summarize working directory state |
|
42541
3de4f17f4824
shelve: move shelve extension to core
Navaneeth Suresh <navaneeths1998@gmail.com>
parents:
40413
diff
changeset
|
66 |
unshelve restore a shelved change to the working directory |
40412 | 67 |
update update working directory (or switch revisions) |
68 |
||
69 |
Change import/export: |
|
70 |
||
71 |
archive create an unversioned archive of a repository revision |
|
72 |
bundle create a bundle file |
|
73 |
export dump the header and diffs for one or more changesets |
|
74 |
import import an ordered set of patches |
|
75 |
unbundle apply one or more bundle files |
|
76 |
||
77 |
Repository maintenance: |
|
78 |
||
79 |
manifest output the current or given revision of the project manifest |
|
80 |
recover roll back an interrupted transaction |
|
81 |
verify verify the integrity of the repository |
|
82 |
||
83 |
Help: |
|
84 |
||
85 |
config show combined config settings from all hgrc files |
|
86 |
help show help for a given topic or a help overview |
|
87 |
version output version and copyright information |
|
88 |
||
89 |
additional help topics: |
|
90 |
||
91 |
Mercurial identifiers: |
|
92 |
||
93 |
filesets Specifying File Sets |
|
94 |
hgignore Syntax for Mercurial Ignore Files |
|
95 |
patterns File Name Patterns |
|
96 |
revisions Specifying Revisions |
|
97 |
urls URL Paths |
|
98 |
||
99 |
Mercurial output: |
|
100 |
||
101 |
color Colorizing Outputs |
|
102 |
dates Date Formats |
|
103 |
diffs Diff Formats |
|
104 |
templating Template Usage |
|
105 |
||
106 |
Mercurial configuration: |
|
107 |
||
108 |
config Configuration Files |
|
109 |
environment Environment Variables |
|
110 |
extensions Using Additional Features |
|
111 |
flags Command-line flags |
|
112 |
hgweb Configuring hgweb |
|
113 |
merge-tools Merge Tools |
|
114 |
pager Pager Support |
|
115 |
||
116 |
Concepts: |
|
117 |
||
118 |
bundlespec Bundle File Formats |
|
119 |
glossary Glossary |
|
120 |
phases Working with Phases |
|
121 |
subrepos Subrepositories |
|
122 |
||
123 |
Miscellaneous: |
|
124 |
||
125 |
deprecated Deprecated Features |
|
126 |
internals Technical implementation topics |
|
127 |
scripting Using Mercurial from scripts and automation |
|
128 |
||
129 |
(use 'hg help -v' to show built-in aliases and global options) |
|
40413 | 130 |
|
131 |
Test hiding some topics. |
|
132 |
||
133 |
$ hg --config help.hidden-topic.deprecated=true \ |
|
134 |
> --config help.hidden-topic.internals=true \ |
|
135 |
> --config help.hidden-topic.scripting=true help |
|
136 |
Mercurial Distributed SCM |
|
137 |
||
138 |
list of commands: |
|
139 |
||
140 |
Repository creation: |
|
141 |
||
142 |
clone make a copy of an existing repository |
|
143 |
init create a new repository in the given directory |
|
144 |
||
145 |
Remote repository management: |
|
146 |
||
147 |
incoming show new changesets found in source |
|
148 |
outgoing show changesets not found in the destination |
|
149 |
paths show aliases for remote repositories |
|
150 |
pull pull changes from the specified source |
|
151 |
push push changes to the specified destination |
|
152 |
serve start stand-alone webserver |
|
153 |
||
154 |
Change creation: |
|
155 |
||
156 |
commit commit the specified files or all outstanding changes |
|
157 |
||
158 |
Change manipulation: |
|
159 |
||
160 |
backout reverse effect of earlier changeset |
|
161 |
graft copy changes from other branches onto the current branch |
|
162 |
merge merge another revision into working directory |
|
163 |
||
164 |
Change organization: |
|
165 |
||
166 |
bookmarks create a new bookmark or list existing bookmarks |
|
167 |
branch set or show the current branch name |
|
168 |
branches list repository named branches |
|
169 |
phase set or show the current phase name |
|
170 |
tag add one or more tags for the current or given revision |
|
171 |
tags list repository tags |
|
172 |
||
173 |
File content management: |
|
174 |
||
175 |
annotate show changeset information by line for each file |
|
176 |
cat output the current or given revision of files |
|
177 |
copy mark files as copied for the next commit |
|
178 |
diff diff repository (or selected files) |
|
43305
d782cce137fd
grep: update docs to reflect new --all-files default
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
42541
diff
changeset
|
179 |
grep search for a pattern in specified files |
40413 | 180 |
|
181 |
Change navigation: |
|
182 |
||
183 |
bisect subdivision search of changesets |
|
184 |
heads show branch heads |
|
185 |
identify identify the working directory or specified revision |
|
186 |
log show revision history of entire repository or files |
|
187 |
||
188 |
Working directory management: |
|
189 |
||
190 |
add add the specified files on the next commit |
|
191 |
addremove add all new files, delete all missing files |
|
192 |
files list tracked files |
|
193 |
forget forget the specified files on the next commit |
|
194 |
remove remove the specified files on the next commit |
|
195 |
rename rename files; equivalent of copy + remove |
|
196 |
resolve redo merges or set/view the merge status of files |
|
197 |
revert restore files to their checkout state |
|
198 |
root print the root (top) of the current working directory |
|
42541
3de4f17f4824
shelve: move shelve extension to core
Navaneeth Suresh <navaneeths1998@gmail.com>
parents:
40413
diff
changeset
|
199 |
shelve save and set aside changes from the working directory |
40413 | 200 |
status show changed files in the working directory |
201 |
summary summarize working directory state |
|
42541
3de4f17f4824
shelve: move shelve extension to core
Navaneeth Suresh <navaneeths1998@gmail.com>
parents:
40413
diff
changeset
|
202 |
unshelve restore a shelved change to the working directory |
40413 | 203 |
update update working directory (or switch revisions) |
204 |
||
205 |
Change import/export: |
|
206 |
||
207 |
archive create an unversioned archive of a repository revision |
|
208 |
bundle create a bundle file |
|
209 |
export dump the header and diffs for one or more changesets |
|
210 |
import import an ordered set of patches |
|
211 |
unbundle apply one or more bundle files |
|
212 |
||
213 |
Repository maintenance: |
|
214 |
||
215 |
manifest output the current or given revision of the project manifest |
|
216 |
recover roll back an interrupted transaction |
|
217 |
verify verify the integrity of the repository |
|
218 |
||
219 |
Help: |
|
220 |
||
221 |
config show combined config settings from all hgrc files |
|
222 |
help show help for a given topic or a help overview |
|
223 |
version output version and copyright information |
|
224 |
||
225 |
additional help topics: |
|
226 |
||
227 |
Mercurial identifiers: |
|
228 |
||
229 |
filesets Specifying File Sets |
|
230 |
hgignore Syntax for Mercurial Ignore Files |
|
231 |
patterns File Name Patterns |
|
232 |
revisions Specifying Revisions |
|
233 |
urls URL Paths |
|
234 |
||
235 |
Mercurial output: |
|
236 |
||
237 |
color Colorizing Outputs |
|
238 |
dates Date Formats |
|
239 |
diffs Diff Formats |
|
240 |
templating Template Usage |
|
241 |
||
242 |
Mercurial configuration: |
|
243 |
||
244 |
config Configuration Files |
|
245 |
environment Environment Variables |
|
246 |
extensions Using Additional Features |
|
247 |
flags Command-line flags |
|
248 |
hgweb Configuring hgweb |
|
249 |
merge-tools Merge Tools |
|
250 |
pager Pager Support |
|
251 |
||
252 |
Concepts: |
|
253 |
||
254 |
bundlespec Bundle File Formats |
|
255 |
glossary Glossary |
|
256 |
phases Working with Phases |
|
257 |
subrepos Subrepositories |
|
258 |
||
259 |
(use 'hg help -v' to show built-in aliases and global options) |