Mercurial > hg
annotate tests/test-help-hide.t @ 51715:7601978f9e9f
typing: add type hints to `cmdutil.findrepo()`
Since 10db46e128d4, pytype almost figured this out, going from `Any` -> `_T0`,
but the intent is obvious.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Thu, 18 Jul 2024 19:55:51 -0400 |
parents | 752c5a5b73c6 |
children |
rev | line source |
---|---|
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 | |
46368
bb3a5c0df06b
purge: move extension into core mercurial
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents:
43305
diff
changeset
|
58 purge removes files not tracked by Mercurial |
40412 | 59 remove remove the specified files on the next commit |
60 rename rename files; equivalent of copy + remove | |
61 resolve redo merges or set/view the merge status of files | |
62 revert restore files to their checkout state | |
63 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
|
64 shelve save and set aside changes from the working directory |
40412 | 65 status show changed files in the working directory |
66 summary summarize working directory state | |
42541
3de4f17f4824
shelve: move shelve extension to core
Navaneeth Suresh <navaneeths1998@gmail.com>
parents:
40413
diff
changeset
|
67 unshelve restore a shelved change to the working directory |
40412 | 68 update update working directory (or switch revisions) |
69 | |
70 Change import/export: | |
71 | |
72 archive create an unversioned archive of a repository revision | |
73 bundle create a bundle file | |
74 export dump the header and diffs for one or more changesets | |
75 import import an ordered set of patches | |
76 unbundle apply one or more bundle files | |
77 | |
78 Repository maintenance: | |
79 | |
50989
752c5a5b73c6
admin-command: add verify command
Raphaël Gomès <rgomes@octobus.net>
parents:
48532
diff
changeset
|
80 admin::verify |
752c5a5b73c6
admin-command: add verify command
Raphaël Gomès <rgomes@octobus.net>
parents:
48532
diff
changeset
|
81 verify the integrity of the repository |
40412 | 82 manifest output the current or given revision of the project manifest |
83 recover roll back an interrupted transaction | |
84 verify verify the integrity of the repository | |
85 | |
86 Help: | |
87 | |
88 config show combined config settings from all hgrc files | |
89 help show help for a given topic or a help overview | |
90 version output version and copyright information | |
91 | |
92 additional help topics: | |
93 | |
94 Mercurial identifiers: | |
95 | |
96 filesets Specifying File Sets | |
97 hgignore Syntax for Mercurial Ignore Files | |
98 patterns File Name Patterns | |
99 revisions Specifying Revisions | |
100 urls URL Paths | |
101 | |
102 Mercurial output: | |
103 | |
104 color Colorizing Outputs | |
105 dates Date Formats | |
106 diffs Diff Formats | |
107 templating Template Usage | |
108 | |
109 Mercurial configuration: | |
110 | |
111 config Configuration Files | |
112 environment Environment Variables | |
113 extensions Using Additional Features | |
114 flags Command-line flags | |
115 hgweb Configuring hgweb | |
116 merge-tools Merge Tools | |
117 pager Pager Support | |
48532
7ccd31fda132
docs: add documentation about Rust
Raphaël Gomès <rgomes@octobus.net>
parents:
47017
diff
changeset
|
118 rust Rust in Mercurial |
40412 | 119 |
120 Concepts: | |
121 | |
122 bundlespec Bundle File Formats | |
47017
da4e6d7a8fdd
help: add topic about evolution, based on text from evolve extension
Martin von Zweigbergk <martinvonz@google.com>
parents:
46368
diff
changeset
|
123 evolution Safely rewriting history (EXPERIMENTAL) |
40412 | 124 glossary Glossary |
125 phases Working with Phases | |
126 subrepos Subrepositories | |
127 | |
128 Miscellaneous: | |
129 | |
130 deprecated Deprecated Features | |
131 internals Technical implementation topics | |
132 scripting Using Mercurial from scripts and automation | |
133 | |
134 (use 'hg help -v' to show built-in aliases and global options) | |
40413 | 135 |
136 Test hiding some topics. | |
137 | |
138 $ hg --config help.hidden-topic.deprecated=true \ | |
139 > --config help.hidden-topic.internals=true \ | |
140 > --config help.hidden-topic.scripting=true help | |
141 Mercurial Distributed SCM | |
142 | |
143 list of commands: | |
144 | |
145 Repository creation: | |
146 | |
147 clone make a copy of an existing repository | |
148 init create a new repository in the given directory | |
149 | |
150 Remote repository management: | |
151 | |
152 incoming show new changesets found in source | |
153 outgoing show changesets not found in the destination | |
154 paths show aliases for remote repositories | |
155 pull pull changes from the specified source | |
156 push push changes to the specified destination | |
157 serve start stand-alone webserver | |
158 | |
159 Change creation: | |
160 | |
161 commit commit the specified files or all outstanding changes | |
162 | |
163 Change manipulation: | |
164 | |
165 backout reverse effect of earlier changeset | |
166 graft copy changes from other branches onto the current branch | |
167 merge merge another revision into working directory | |
168 | |
169 Change organization: | |
170 | |
171 bookmarks create a new bookmark or list existing bookmarks | |
172 branch set or show the current branch name | |
173 branches list repository named branches | |
174 phase set or show the current phase name | |
175 tag add one or more tags for the current or given revision | |
176 tags list repository tags | |
177 | |
178 File content management: | |
179 | |
180 annotate show changeset information by line for each file | |
181 cat output the current or given revision of files | |
182 copy mark files as copied for the next commit | |
183 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
|
184 grep search for a pattern in specified files |
40413 | 185 |
186 Change navigation: | |
187 | |
188 bisect subdivision search of changesets | |
189 heads show branch heads | |
190 identify identify the working directory or specified revision | |
191 log show revision history of entire repository or files | |
192 | |
193 Working directory management: | |
194 | |
195 add add the specified files on the next commit | |
196 addremove add all new files, delete all missing files | |
197 files list tracked files | |
198 forget forget the specified files on the next commit | |
46368
bb3a5c0df06b
purge: move extension into core mercurial
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents:
43305
diff
changeset
|
199 purge removes files not tracked by Mercurial |
40413 | 200 remove remove the specified files on the next commit |
201 rename rename files; equivalent of copy + remove | |
202 resolve redo merges or set/view the merge status of files | |
203 revert restore files to their checkout state | |
204 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
|
205 shelve save and set aside changes from the working directory |
40413 | 206 status show changed files in the working directory |
207 summary summarize working directory state | |
42541
3de4f17f4824
shelve: move shelve extension to core
Navaneeth Suresh <navaneeths1998@gmail.com>
parents:
40413
diff
changeset
|
208 unshelve restore a shelved change to the working directory |
40413 | 209 update update working directory (or switch revisions) |
210 | |
211 Change import/export: | |
212 | |
213 archive create an unversioned archive of a repository revision | |
214 bundle create a bundle file | |
215 export dump the header and diffs for one or more changesets | |
216 import import an ordered set of patches | |
217 unbundle apply one or more bundle files | |
218 | |
219 Repository maintenance: | |
220 | |
50989
752c5a5b73c6
admin-command: add verify command
Raphaël Gomès <rgomes@octobus.net>
parents:
48532
diff
changeset
|
221 admin::verify |
752c5a5b73c6
admin-command: add verify command
Raphaël Gomès <rgomes@octobus.net>
parents:
48532
diff
changeset
|
222 verify the integrity of the repository |
40413 | 223 manifest output the current or given revision of the project manifest |
224 recover roll back an interrupted transaction | |
225 verify verify the integrity of the repository | |
226 | |
227 Help: | |
228 | |
229 config show combined config settings from all hgrc files | |
230 help show help for a given topic or a help overview | |
231 version output version and copyright information | |
232 | |
233 additional help topics: | |
234 | |
235 Mercurial identifiers: | |
236 | |
237 filesets Specifying File Sets | |
238 hgignore Syntax for Mercurial Ignore Files | |
239 patterns File Name Patterns | |
240 revisions Specifying Revisions | |
241 urls URL Paths | |
242 | |
243 Mercurial output: | |
244 | |
245 color Colorizing Outputs | |
246 dates Date Formats | |
247 diffs Diff Formats | |
248 templating Template Usage | |
249 | |
250 Mercurial configuration: | |
251 | |
252 config Configuration Files | |
253 environment Environment Variables | |
254 extensions Using Additional Features | |
255 flags Command-line flags | |
256 hgweb Configuring hgweb | |
257 merge-tools Merge Tools | |
258 pager Pager Support | |
48532
7ccd31fda132
docs: add documentation about Rust
Raphaël Gomès <rgomes@octobus.net>
parents:
47017
diff
changeset
|
259 rust Rust in Mercurial |
40413 | 260 |
261 Concepts: | |
262 | |
263 bundlespec Bundle File Formats | |
47017
da4e6d7a8fdd
help: add topic about evolution, based on text from evolve extension
Martin von Zweigbergk <martinvonz@google.com>
parents:
46368
diff
changeset
|
264 evolution Safely rewriting history (EXPERIMENTAL) |
40413 | 265 glossary Glossary |
266 phases Working with Phases | |
267 subrepos Subrepositories | |
268 | |
269 (use 'hg help -v' to show built-in aliases and global options) |