Mercurial > hg
annotate tests/test-help-hide.t @ 47507:d4c795576aeb
dirstate-entry: turn dirstate tuple into a real object (like in C)
With dirstate V2, the stored information and actual format will change. This mean we need to start an a better abstraction for a dirstate entry that a tuple directly accessed.
By chance, the C code is already doing this and pretend to be a tuple. So it
should be fairly easy. We start with turning the tuple into an object, we will
slowly migrate the dirstate code to no longer use the tuple directly in later
changesets.
Differential Revision: https://phab.mercurial-scm.org/D10949
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sat, 03 Jul 2021 03:48:35 +0200 |
parents | da4e6d7a8fdd |
children | 7ccd31fda132 |
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 | |
80 manifest output the current or given revision of the project manifest | |
81 recover roll back an interrupted transaction | |
82 verify verify the integrity of the repository | |
83 | |
84 Help: | |
85 | |
86 config show combined config settings from all hgrc files | |
87 help show help for a given topic or a help overview | |
88 version output version and copyright information | |
89 | |
90 additional help topics: | |
91 | |
92 Mercurial identifiers: | |
93 | |
94 filesets Specifying File Sets | |
95 hgignore Syntax for Mercurial Ignore Files | |
96 patterns File Name Patterns | |
97 revisions Specifying Revisions | |
98 urls URL Paths | |
99 | |
100 Mercurial output: | |
101 | |
102 color Colorizing Outputs | |
103 dates Date Formats | |
104 diffs Diff Formats | |
105 templating Template Usage | |
106 | |
107 Mercurial configuration: | |
108 | |
109 config Configuration Files | |
110 environment Environment Variables | |
111 extensions Using Additional Features | |
112 flags Command-line flags | |
113 hgweb Configuring hgweb | |
114 merge-tools Merge Tools | |
115 pager Pager Support | |
116 | |
117 Concepts: | |
118 | |
119 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
|
120 evolution Safely rewriting history (EXPERIMENTAL) |
40412 | 121 glossary Glossary |
122 phases Working with Phases | |
123 subrepos Subrepositories | |
124 | |
125 Miscellaneous: | |
126 | |
127 deprecated Deprecated Features | |
128 internals Technical implementation topics | |
129 scripting Using Mercurial from scripts and automation | |
130 | |
131 (use 'hg help -v' to show built-in aliases and global options) | |
40413 | 132 |
133 Test hiding some topics. | |
134 | |
135 $ hg --config help.hidden-topic.deprecated=true \ | |
136 > --config help.hidden-topic.internals=true \ | |
137 > --config help.hidden-topic.scripting=true help | |
138 Mercurial Distributed SCM | |
139 | |
140 list of commands: | |
141 | |
142 Repository creation: | |
143 | |
144 clone make a copy of an existing repository | |
145 init create a new repository in the given directory | |
146 | |
147 Remote repository management: | |
148 | |
149 incoming show new changesets found in source | |
150 outgoing show changesets not found in the destination | |
151 paths show aliases for remote repositories | |
152 pull pull changes from the specified source | |
153 push push changes to the specified destination | |
154 serve start stand-alone webserver | |
155 | |
156 Change creation: | |
157 | |
158 commit commit the specified files or all outstanding changes | |
159 | |
160 Change manipulation: | |
161 | |
162 backout reverse effect of earlier changeset | |
163 graft copy changes from other branches onto the current branch | |
164 merge merge another revision into working directory | |
165 | |
166 Change organization: | |
167 | |
168 bookmarks create a new bookmark or list existing bookmarks | |
169 branch set or show the current branch name | |
170 branches list repository named branches | |
171 phase set or show the current phase name | |
172 tag add one or more tags for the current or given revision | |
173 tags list repository tags | |
174 | |
175 File content management: | |
176 | |
177 annotate show changeset information by line for each file | |
178 cat output the current or given revision of files | |
179 copy mark files as copied for the next commit | |
180 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
|
181 grep search for a pattern in specified files |
40413 | 182 |
183 Change navigation: | |
184 | |
185 bisect subdivision search of changesets | |
186 heads show branch heads | |
187 identify identify the working directory or specified revision | |
188 log show revision history of entire repository or files | |
189 | |
190 Working directory management: | |
191 | |
192 add add the specified files on the next commit | |
193 addremove add all new files, delete all missing files | |
194 files list tracked files | |
195 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
|
196 purge removes files not tracked by Mercurial |
40413 | 197 remove remove the specified files on the next commit |
198 rename rename files; equivalent of copy + remove | |
199 resolve redo merges or set/view the merge status of files | |
200 revert restore files to their checkout state | |
201 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
|
202 shelve save and set aside changes from the working directory |
40413 | 203 status show changed files in the working directory |
204 summary summarize working directory state | |
42541
3de4f17f4824
shelve: move shelve extension to core
Navaneeth Suresh <navaneeths1998@gmail.com>
parents:
40413
diff
changeset
|
205 unshelve restore a shelved change to the working directory |
40413 | 206 update update working directory (or switch revisions) |
207 | |
208 Change import/export: | |
209 | |
210 archive create an unversioned archive of a repository revision | |
211 bundle create a bundle file | |
212 export dump the header and diffs for one or more changesets | |
213 import import an ordered set of patches | |
214 unbundle apply one or more bundle files | |
215 | |
216 Repository maintenance: | |
217 | |
218 manifest output the current or given revision of the project manifest | |
219 recover roll back an interrupted transaction | |
220 verify verify the integrity of the repository | |
221 | |
222 Help: | |
223 | |
224 config show combined config settings from all hgrc files | |
225 help show help for a given topic or a help overview | |
226 version output version and copyright information | |
227 | |
228 additional help topics: | |
229 | |
230 Mercurial identifiers: | |
231 | |
232 filesets Specifying File Sets | |
233 hgignore Syntax for Mercurial Ignore Files | |
234 patterns File Name Patterns | |
235 revisions Specifying Revisions | |
236 urls URL Paths | |
237 | |
238 Mercurial output: | |
239 | |
240 color Colorizing Outputs | |
241 dates Date Formats | |
242 diffs Diff Formats | |
243 templating Template Usage | |
244 | |
245 Mercurial configuration: | |
246 | |
247 config Configuration Files | |
248 environment Environment Variables | |
249 extensions Using Additional Features | |
250 flags Command-line flags | |
251 hgweb Configuring hgweb | |
252 merge-tools Merge Tools | |
253 pager Pager Support | |
254 | |
255 Concepts: | |
256 | |
257 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
|
258 evolution Safely rewriting history (EXPERIMENTAL) |
40413 | 259 glossary Glossary |
260 phases Working with Phases | |
261 subrepos Subrepositories | |
262 | |
263 (use 'hg help -v' to show built-in aliases and global options) |