##// END OF EJS Templates
help: show extension commands in short list, separate extension list in help...
Dirkjan Ochtman -
r7197:f6073069 default
parent child Browse files
Show More
@@ -1310,7 +1310,8 b' def help_(ui, name=None, with_version=Fa'
1310 f = c.split("|", 1)[0]
1310 f = c.split("|", 1)[0]
1311 if select and not select(f):
1311 if select and not select(f):
1312 continue
1312 continue
1313 if select is None and e[0].__module__ != __name__:
1313 if (not select and name != 'shortlist' and
1314 e[0].__module__ != __name__):
1314 continue
1315 continue
1315 if name == "shortlist" and not f.startswith("^"):
1316 if name == "shortlist" and not f.startswith("^"):
1316 continue
1317 continue
@@ -1338,7 +1339,7 b' def help_(ui, name=None, with_version=Fa'
1338 ui.write(' %-*s %s\n' % (m, f, h[f]))
1339 ui.write(' %-*s %s\n' % (m, f, h[f]))
1339
1340
1340 exts = list(extensions.extensions())
1341 exts = list(extensions.extensions())
1341 if exts:
1342 if exts and name != 'shortlist':
1342 ui.write(_('\nenabled extensions:\n\n'))
1343 ui.write(_('\nenabled extensions:\n\n'))
1343 maxlength = 0
1344 maxlength = 0
1344 exthelps = []
1345 exthelps = []
@@ -37,13 +37,6 b' enabled extensions:'
37
37
38 debugextension only debugcommands
38 debugextension only debugcommands
39
39
40 special help topics:
41 dates Date Formats
42 patterns File Name Patterns
43 environment, env Environment Variables
44 revs, revisions Specifying Single Revisions
45 mrevs, multirevs Specifying Multiple Revisions
46
47 global options:
40 global options:
48 -R --repository repository root directory or symbolic path name
41 -R --repository repository root directory or symbolic path name
49 --cwd change working directory
42 --cwd change working directory
@@ -198,6 +198,14 b' list of commands:'
198 verify verify the integrity of the repository
198 verify verify the integrity of the repository
199 version output version and copyright information
199 version output version and copyright information
200
200
201 special help topics:
202
203 dates Date Formats
204 patterns File Name Patterns
205 environment Environment Variables
206 revisions Specifying Single Revisions
207 multirevs Specifying Multiple Revisions
208
201 use "hg -v help" to show aliases and global options
209 use "hg -v help" to show aliases and global options
202 Mercurial Distributed SCM
210 Mercurial Distributed SCM
203
211
@@ -252,5 +260,13 b' list of commands:'
252 verify verify the integrity of the repository
260 verify verify the integrity of the repository
253 version output version and copyright information
261 version output version and copyright information
254
262
263 special help topics:
264
265 dates Date Formats
266 patterns File Name Patterns
267 environment Environment Variables
268 revisions Specifying Single Revisions
269 multirevs Specifying Multiple Revisions
270
255 use "hg -v help" to show aliases and global options
271 use "hg -v help" to show aliases and global options
256 %% not tested: --debugger
272 %% not tested: --debugger
@@ -89,6 +89,14 b' list of commands:'
89 verify verify the integrity of the repository
89 verify verify the integrity of the repository
90 version output version and copyright information
90 version output version and copyright information
91
91
92 special help topics:
93
94 dates Date Formats
95 patterns File Name Patterns
96 environment Environment Variables
97 revisions Specifying Single Revisions
98 multirevs Specifying Multiple Revisions
99
92 use "hg -v help" to show aliases and global options
100 use "hg -v help" to show aliases and global options
93 add add the specified files on the next commit
101 add add the specified files on the next commit
94 addremove add all new files, delete all missing files
102 addremove add all new files, delete all missing files
@@ -138,6 +146,14 b' use "hg -v help" to show aliases and glo'
138 update update working directory
146 update update working directory
139 verify verify the integrity of the repository
147 verify verify the integrity of the repository
140 version output version and copyright information
148 version output version and copyright information
149
150 special help topics:
151
152 dates Date Formats
153 patterns File Name Patterns
154 environment Environment Variables
155 revisions Specifying Single Revisions
156 multirevs Specifying Multiple Revisions
141 hg add [OPTION]... [FILE]...
157 hg add [OPTION]... [FILE]...
142
158
143 add the specified files on the next commit
159 add the specified files on the next commit
@@ -21,10 +21,6 b' basic commands:'
21 status show changed files in the working directory
21 status show changed files in the working directory
22 update update working directory
22 update update working directory
23
23
24 enabled extensions:
25
26 record interactive change selection during commit or qrefresh
27
28 use "hg help" for the full list of commands or "hg -v" for details
24 use "hg help" for the full list of commands or "hg -v" for details
29 % help (mq present)
25 % help (mq present)
30 hg qrecord [OPTION]... PATCH [FILE]...
26 hg qrecord [OPTION]... PATCH [FILE]...
General Comments 0
You need to be logged in to leave comments. Login now