##// END OF EJS Templates
help: fix column alignment in "hg help" output...
Olav Reinert -
r15862:d0f2a89c default
parent child Browse files
Show More
@@ -3155,7 +3155,7 b' def help_(ui, name=None, unknowncmd=Fals'
3155 ui.write(" %s:\n %s\n"%(commands, h[f]))
3155 ui.write(" %s:\n %s\n"%(commands, h[f]))
3156 else:
3156 else:
3157 ui.write('%s\n' % (util.wrap(h[f], textwidth,
3157 ui.write('%s\n' % (util.wrap(h[f], textwidth,
3158 initindent=' %-*s ' % (m, f),
3158 initindent=' %-*s ' % (m, f),
3159 hangindent=' ' * (m + 4))))
3159 hangindent=' ' * (m + 4))))
3160
3160
3161 if not name:
3161 if not name:
@@ -3169,7 +3169,7 b' def help_(ui, name=None, unknowncmd=Fals'
3169 topics.append((sorted(names, key=len, reverse=True)[0], header))
3169 topics.append((sorted(names, key=len, reverse=True)[0], header))
3170 topics_len = max([len(s[0]) for s in topics])
3170 topics_len = max([len(s[0]) for s in topics])
3171 for t, desc in topics:
3171 for t, desc in topics:
3172 ui.write(" %-*s %s\n" % (topics_len, t, desc))
3172 ui.write(" %-*s %s\n" % (topics_len, t, desc))
3173
3173
3174 optlist = []
3174 optlist = []
3175 addglobalopts(optlist, True)
3175 addglobalopts(optlist, True)
@@ -324,24 +324,24 b' invalid global arguments for normal comm'
324
324
325 basic commands:
325 basic commands:
326
326
327 add add the specified files on the next commit
327 add add the specified files on the next commit
328 annotate show changeset information by line for each file
328 annotate show changeset information by line for each file
329 clone make a copy of an existing repository
329 clone make a copy of an existing repository
330 commit commit the specified files or all outstanding changes
330 commit commit the specified files or all outstanding changes
331 diff diff repository (or selected files)
331 diff diff repository (or selected files)
332 export dump the header and diffs for one or more changesets
332 export dump the header and diffs for one or more changesets
333 forget forget the specified files on the next commit
333 forget forget the specified files on the next commit
334 init create a new repository in the given directory
334 init create a new repository in the given directory
335 log show revision history of entire repository or files
335 log show revision history of entire repository or files
336 merge merge working directory with another revision
336 merge merge working directory with another revision
337 phase set or show the current phase name
337 phase set or show the current phase name
338 pull pull changes from the specified source
338 pull pull changes from the specified source
339 push push changes to the specified destination
339 push push changes to the specified destination
340 remove remove the specified files on the next commit
340 remove remove the specified files on the next commit
341 serve start stand-alone webserver
341 serve start stand-alone webserver
342 status show changed files in the working directory
342 status show changed files in the working directory
343 summary summarize working directory state
343 summary summarize working directory state
344 update update working directory (or switch revisions)
344 update update working directory (or switch revisions)
345
345
346 use "hg help" for the full list of commands or "hg -v" for details
346 use "hg help" for the full list of commands or "hg -v" for details
347 [255]
347 [255]
@@ -351,24 +351,24 b' invalid global arguments for normal comm'
351
351
352 basic commands:
352 basic commands:
353
353
354 add add the specified files on the next commit
354 add add the specified files on the next commit
355 annotate show changeset information by line for each file
355 annotate show changeset information by line for each file
356 clone make a copy of an existing repository
356 clone make a copy of an existing repository
357 commit commit the specified files or all outstanding changes
357 commit commit the specified files or all outstanding changes
358 diff diff repository (or selected files)
358 diff diff repository (or selected files)
359 export dump the header and diffs for one or more changesets
359 export dump the header and diffs for one or more changesets
360 forget forget the specified files on the next commit
360 forget forget the specified files on the next commit
361 init create a new repository in the given directory
361 init create a new repository in the given directory
362 log show revision history of entire repository or files
362 log show revision history of entire repository or files
363 merge merge working directory with another revision
363 merge merge working directory with another revision
364 phase set or show the current phase name
364 phase set or show the current phase name
365 pull pull changes from the specified source
365 pull pull changes from the specified source
366 push push changes to the specified destination
366 push push changes to the specified destination
367 remove remove the specified files on the next commit
367 remove remove the specified files on the next commit
368 serve start stand-alone webserver
368 serve start stand-alone webserver
369 status show changed files in the working directory
369 status show changed files in the working directory
370 summary summarize working directory state
370 summary summarize working directory state
371 update update working directory (or switch revisions)
371 update update working directory (or switch revisions)
372
372
373 use "hg help" for the full list of commands or "hg -v" for details
373 use "hg help" for the full list of commands or "hg -v" for details
374 [255]
374 [255]
@@ -378,24 +378,24 b' invalid global arguments for normal comm'
378
378
379 basic commands:
379 basic commands:
380
380
381 add add the specified files on the next commit
381 add add the specified files on the next commit
382 annotate show changeset information by line for each file
382 annotate show changeset information by line for each file
383 clone make a copy of an existing repository
383 clone make a copy of an existing repository
384 commit commit the specified files or all outstanding changes
384 commit commit the specified files or all outstanding changes
385 diff diff repository (or selected files)
385 diff diff repository (or selected files)
386 export dump the header and diffs for one or more changesets
386 export dump the header and diffs for one or more changesets
387 forget forget the specified files on the next commit
387 forget forget the specified files on the next commit
388 init create a new repository in the given directory
388 init create a new repository in the given directory
389 log show revision history of entire repository or files
389 log show revision history of entire repository or files
390 merge merge working directory with another revision
390 merge merge working directory with another revision
391 phase set or show the current phase name
391 phase set or show the current phase name
392 pull pull changes from the specified source
392 pull pull changes from the specified source
393 push push changes to the specified destination
393 push push changes to the specified destination
394 remove remove the specified files on the next commit
394 remove remove the specified files on the next commit
395 serve start stand-alone webserver
395 serve start stand-alone webserver
396 status show changed files in the working directory
396 status show changed files in the working directory
397 summary summarize working directory state
397 summary summarize working directory state
398 update update working directory (or switch revisions)
398 update update working directory (or switch revisions)
399
399
400 use "hg help" for the full list of commands or "hg -v" for details
400 use "hg help" for the full list of commands or "hg -v" for details
401 [255]
401 [255]
@@ -16,24 +16,24 b' Mercurial Distributed SCM'
16
16
17 basic commands:
17 basic commands:
18
18
19 add add the specified files on the next commit
19 add add the specified files on the next commit
20 annotate show changeset information by line for each file
20 annotate show changeset information by line for each file
21 clone make a copy of an existing repository
21 clone make a copy of an existing repository
22 commit commit the specified files or all outstanding changes
22 commit commit the specified files or all outstanding changes
23 diff diff repository (or selected files)
23 diff diff repository (or selected files)
24 export dump the header and diffs for one or more changesets
24 export dump the header and diffs for one or more changesets
25 forget forget the specified files on the next commit
25 forget forget the specified files on the next commit
26 init create a new repository in the given directory
26 init create a new repository in the given directory
27 log show revision history of entire repository or files
27 log show revision history of entire repository or files
28 merge merge working directory with another revision
28 merge merge working directory with another revision
29 phase set or show the current phase name
29 phase set or show the current phase name
30 pull pull changes from the specified source
30 pull pull changes from the specified source
31 push push changes to the specified destination
31 push push changes to the specified destination
32 remove remove the specified files on the next commit
32 remove remove the specified files on the next commit
33 serve start stand-alone webserver
33 serve start stand-alone webserver
34 status show changed files in the working directory
34 status show changed files in the working directory
35 summary summarize working directory state
35 summary summarize working directory state
36 update update working directory (or switch revisions)
36 update update working directory (or switch revisions)
37
37
38 use "hg help" for the full list of commands or "hg -v" for details
38 use "hg help" for the full list of commands or "hg -v" for details
39 runcommand id --quiet
39 runcommand id --quiet
@@ -327,7 +327,7 b' Extension module help vs command help:'
327
327
328 list of commands:
328 list of commands:
329
329
330 extdiff use external program to diff repository (or selected files)
330 extdiff use external program to diff repository (or selected files)
331
331
332 use "hg -v help extdiff" to show builtin aliases and global options
332 use "hg -v help extdiff" to show builtin aliases and global options
333
333
@@ -279,79 +279,79 b' Testing -h/--help:'
279
279
280 list of commands:
280 list of commands:
281
281
282 add add the specified files on the next commit
282 add add the specified files on the next commit
283 addremove add all new files, delete all missing files
283 addremove add all new files, delete all missing files
284 annotate show changeset information by line for each file
284 annotate show changeset information by line for each file
285 archive create an unversioned archive of a repository revision
285 archive create an unversioned archive of a repository revision
286 backout reverse effect of earlier changeset
286 backout reverse effect of earlier changeset
287 bisect subdivision search of changesets
287 bisect subdivision search of changesets
288 bookmarks track a line of development with movable markers
288 bookmarks track a line of development with movable markers
289 branch set or show the current branch name
289 branch set or show the current branch name
290 branches list repository named branches
290 branches list repository named branches
291 bundle create a changegroup file
291 bundle create a changegroup file
292 cat output the current or given revision of files
292 cat output the current or given revision of files
293 clone make a copy of an existing repository
293 clone make a copy of an existing repository
294 commit commit the specified files or all outstanding changes
294 commit commit the specified files or all outstanding changes
295 copy mark files as copied for the next commit
295 copy mark files as copied for the next commit
296 diff diff repository (or selected files)
296 diff diff repository (or selected files)
297 export dump the header and diffs for one or more changesets
297 export dump the header and diffs for one or more changesets
298 forget forget the specified files on the next commit
298 forget forget the specified files on the next commit
299 graft copy changes from other branches onto the current branch
299 graft copy changes from other branches onto the current branch
300 grep search for a pattern in specified files and revisions
300 grep search for a pattern in specified files and revisions
301 heads show current repository heads or show branch heads
301 heads show current repository heads or show branch heads
302 help show help for a given topic or a help overview
302 help show help for a given topic or a help overview
303 identify identify the working copy or specified revision
303 identify identify the working copy or specified revision
304 import import an ordered set of patches
304 import import an ordered set of patches
305 incoming show new changesets found in source
305 incoming show new changesets found in source
306 init create a new repository in the given directory
306 init create a new repository in the given directory
307 locate locate files matching specific patterns
307 locate locate files matching specific patterns
308 log show revision history of entire repository or files
308 log show revision history of entire repository or files
309 manifest output the current or given revision of the project manifest
309 manifest output the current or given revision of the project manifest
310 merge merge working directory with another revision
310 merge merge working directory with another revision
311 outgoing show changesets not found in the destination
311 outgoing show changesets not found in the destination
312 parents show the parents of the working directory or revision
312 parents show the parents of the working directory or revision
313 paths show aliases for remote repositories
313 paths show aliases for remote repositories
314 phase set or show the current phase name
314 phase set or show the current phase name
315 pull pull changes from the specified source
315 pull pull changes from the specified source
316 push push changes to the specified destination
316 push push changes to the specified destination
317 recover roll back an interrupted transaction
317 recover roll back an interrupted transaction
318 remove remove the specified files on the next commit
318 remove remove the specified files on the next commit
319 rename rename files; equivalent of copy + remove
319 rename rename files; equivalent of copy + remove
320 resolve redo merges or set/view the merge status of files
320 resolve redo merges or set/view the merge status of files
321 revert restore files to their checkout state
321 revert restore files to their checkout state
322 rollback roll back the last transaction (dangerous)
322 rollback roll back the last transaction (dangerous)
323 root print the root (top) of the current working directory
323 root print the root (top) of the current working directory
324 serve start stand-alone webserver
324 serve start stand-alone webserver
325 showconfig show combined config settings from all hgrc files
325 showconfig show combined config settings from all hgrc files
326 status show changed files in the working directory
326 status show changed files in the working directory
327 summary summarize working directory state
327 summary summarize working directory state
328 tag add one or more tags for the current or given revision
328 tag add one or more tags for the current or given revision
329 tags list repository tags
329 tags list repository tags
330 tip show the tip revision
330 tip show the tip revision
331 unbundle apply one or more changegroup files
331 unbundle apply one or more changegroup files
332 update update working directory (or switch revisions)
332 update update working directory (or switch revisions)
333 verify verify the integrity of the repository
333 verify verify the integrity of the repository
334 version output version and copyright information
334 version output version and copyright information
335
335
336 additional help topics:
336 additional help topics:
337
337
338 config Configuration Files
338 config Configuration Files
339 dates Date Formats
339 dates Date Formats
340 diffs Diff Formats
340 diffs Diff Formats
341 environment Environment Variables
341 environment Environment Variables
342 extensions Using additional features
342 extensions Using additional features
343 filesets Specifying File Sets
343 filesets Specifying File Sets
344 glossary Glossary
344 glossary Glossary
345 hgignore syntax for Mercurial ignore files
345 hgignore syntax for Mercurial ignore files
346 hgweb Configuring hgweb
346 hgweb Configuring hgweb
347 merge-tools Merge Tools
347 merge-tools Merge Tools
348 multirevs Specifying Multiple Revisions
348 multirevs Specifying Multiple Revisions
349 patterns File Name Patterns
349 patterns File Name Patterns
350 revisions Specifying Single Revisions
350 revisions Specifying Single Revisions
351 revsets Specifying Revision Sets
351 revsets Specifying Revision Sets
352 subrepos Subrepositories
352 subrepos Subrepositories
353 templating Template Usage
353 templating Template Usage
354 urls URL Paths
354 urls URL Paths
355
355
356 use "hg -v help" to show builtin aliases and global options
356 use "hg -v help" to show builtin aliases and global options
357
357
@@ -362,79 +362,79 b' Testing -h/--help:'
362
362
363 list of commands:
363 list of commands:
364
364
365 add add the specified files on the next commit
365 add add the specified files on the next commit
366 addremove add all new files, delete all missing files
366 addremove add all new files, delete all missing files
367 annotate show changeset information by line for each file
367 annotate show changeset information by line for each file
368 archive create an unversioned archive of a repository revision
368 archive create an unversioned archive of a repository revision
369 backout reverse effect of earlier changeset
369 backout reverse effect of earlier changeset
370 bisect subdivision search of changesets
370 bisect subdivision search of changesets
371 bookmarks track a line of development with movable markers
371 bookmarks track a line of development with movable markers
372 branch set or show the current branch name
372 branch set or show the current branch name
373 branches list repository named branches
373 branches list repository named branches
374 bundle create a changegroup file
374 bundle create a changegroup file
375 cat output the current or given revision of files
375 cat output the current or given revision of files
376 clone make a copy of an existing repository
376 clone make a copy of an existing repository
377 commit commit the specified files or all outstanding changes
377 commit commit the specified files or all outstanding changes
378 copy mark files as copied for the next commit
378 copy mark files as copied for the next commit
379 diff diff repository (or selected files)
379 diff diff repository (or selected files)
380 export dump the header and diffs for one or more changesets
380 export dump the header and diffs for one or more changesets
381 forget forget the specified files on the next commit
381 forget forget the specified files on the next commit
382 graft copy changes from other branches onto the current branch
382 graft copy changes from other branches onto the current branch
383 grep search for a pattern in specified files and revisions
383 grep search for a pattern in specified files and revisions
384 heads show current repository heads or show branch heads
384 heads show current repository heads or show branch heads
385 help show help for a given topic or a help overview
385 help show help for a given topic or a help overview
386 identify identify the working copy or specified revision
386 identify identify the working copy or specified revision
387 import import an ordered set of patches
387 import import an ordered set of patches
388 incoming show new changesets found in source
388 incoming show new changesets found in source
389 init create a new repository in the given directory
389 init create a new repository in the given directory
390 locate locate files matching specific patterns
390 locate locate files matching specific patterns
391 log show revision history of entire repository or files
391 log show revision history of entire repository or files
392 manifest output the current or given revision of the project manifest
392 manifest output the current or given revision of the project manifest
393 merge merge working directory with another revision
393 merge merge working directory with another revision
394 outgoing show changesets not found in the destination
394 outgoing show changesets not found in the destination
395 parents show the parents of the working directory or revision
395 parents show the parents of the working directory or revision
396 paths show aliases for remote repositories
396 paths show aliases for remote repositories
397 phase set or show the current phase name
397 phase set or show the current phase name
398 pull pull changes from the specified source
398 pull pull changes from the specified source
399 push push changes to the specified destination
399 push push changes to the specified destination
400 recover roll back an interrupted transaction
400 recover roll back an interrupted transaction
401 remove remove the specified files on the next commit
401 remove remove the specified files on the next commit
402 rename rename files; equivalent of copy + remove
402 rename rename files; equivalent of copy + remove
403 resolve redo merges or set/view the merge status of files
403 resolve redo merges or set/view the merge status of files
404 revert restore files to their checkout state
404 revert restore files to their checkout state
405 rollback roll back the last transaction (dangerous)
405 rollback roll back the last transaction (dangerous)
406 root print the root (top) of the current working directory
406 root print the root (top) of the current working directory
407 serve start stand-alone webserver
407 serve start stand-alone webserver
408 showconfig show combined config settings from all hgrc files
408 showconfig show combined config settings from all hgrc files
409 status show changed files in the working directory
409 status show changed files in the working directory
410 summary summarize working directory state
410 summary summarize working directory state
411 tag add one or more tags for the current or given revision
411 tag add one or more tags for the current or given revision
412 tags list repository tags
412 tags list repository tags
413 tip show the tip revision
413 tip show the tip revision
414 unbundle apply one or more changegroup files
414 unbundle apply one or more changegroup files
415 update update working directory (or switch revisions)
415 update update working directory (or switch revisions)
416 verify verify the integrity of the repository
416 verify verify the integrity of the repository
417 version output version and copyright information
417 version output version and copyright information
418
418
419 additional help topics:
419 additional help topics:
420
420
421 config Configuration Files
421 config Configuration Files
422 dates Date Formats
422 dates Date Formats
423 diffs Diff Formats
423 diffs Diff Formats
424 environment Environment Variables
424 environment Environment Variables
425 extensions Using additional features
425 extensions Using additional features
426 filesets Specifying File Sets
426 filesets Specifying File Sets
427 glossary Glossary
427 glossary Glossary
428 hgignore syntax for Mercurial ignore files
428 hgignore syntax for Mercurial ignore files
429 hgweb Configuring hgweb
429 hgweb Configuring hgweb
430 merge-tools Merge Tools
430 merge-tools Merge Tools
431 multirevs Specifying Multiple Revisions
431 multirevs Specifying Multiple Revisions
432 patterns File Name Patterns
432 patterns File Name Patterns
433 revisions Specifying Single Revisions
433 revisions Specifying Single Revisions
434 revsets Specifying Revision Sets
434 revsets Specifying Revision Sets
435 subrepos Subrepositories
435 subrepos Subrepositories
436 templating Template Usage
436 templating Template Usage
437 urls URL Paths
437 urls URL Paths
438
438
439 use "hg -v help" to show builtin aliases and global options
439 use "hg -v help" to show builtin aliases and global options
440
440
This diff has been collapsed as it changes many lines, (570 lines changed) Show them Hide them
@@ -5,202 +5,202 b' Short help:'
5
5
6 basic commands:
6 basic commands:
7
7
8 add add the specified files on the next commit
8 add add the specified files on the next commit
9 annotate show changeset information by line for each file
9 annotate show changeset information by line for each file
10 clone make a copy of an existing repository
10 clone make a copy of an existing repository
11 commit commit the specified files or all outstanding changes
11 commit commit the specified files or all outstanding changes
12 diff diff repository (or selected files)
12 diff diff repository (or selected files)
13 export dump the header and diffs for one or more changesets
13 export dump the header and diffs for one or more changesets
14 forget forget the specified files on the next commit
14 forget forget the specified files on the next commit
15 init create a new repository in the given directory
15 init create a new repository in the given directory
16 log show revision history of entire repository or files
16 log show revision history of entire repository or files
17 merge merge working directory with another revision
17 merge merge working directory with another revision
18 phase set or show the current phase name
18 phase set or show the current phase name
19 pull pull changes from the specified source
19 pull pull changes from the specified source
20 push push changes to the specified destination
20 push push changes to the specified destination
21 remove remove the specified files on the next commit
21 remove remove the specified files on the next commit
22 serve start stand-alone webserver
22 serve start stand-alone webserver
23 status show changed files in the working directory
23 status show changed files in the working directory
24 summary summarize working directory state
24 summary summarize working directory state
25 update update working directory (or switch revisions)
25 update update working directory (or switch revisions)
26
26
27 use "hg help" for the full list of commands or "hg -v" for details
27 use "hg help" for the full list of commands or "hg -v" for details
28
28
29 $ hg -q
29 $ hg -q
30 add add the specified files on the next commit
30 add add the specified files on the next commit
31 annotate show changeset information by line for each file
31 annotate show changeset information by line for each file
32 clone make a copy of an existing repository
32 clone make a copy of an existing repository
33 commit commit the specified files or all outstanding changes
33 commit commit the specified files or all outstanding changes
34 diff diff repository (or selected files)
34 diff diff repository (or selected files)
35 export dump the header and diffs for one or more changesets
35 export dump the header and diffs for one or more changesets
36 forget forget the specified files on the next commit
36 forget forget the specified files on the next commit
37 init create a new repository in the given directory
37 init create a new repository in the given directory
38 log show revision history of entire repository or files
38 log show revision history of entire repository or files
39 merge merge working directory with another revision
39 merge merge working directory with another revision
40 phase set or show the current phase name
40 phase set or show the current phase name
41 pull pull changes from the specified source
41 pull pull changes from the specified source
42 push push changes to the specified destination
42 push push changes to the specified destination
43 remove remove the specified files on the next commit
43 remove remove the specified files on the next commit
44 serve start stand-alone webserver
44 serve start stand-alone webserver
45 status show changed files in the working directory
45 status show changed files in the working directory
46 summary summarize working directory state
46 summary summarize working directory state
47 update update working directory (or switch revisions)
47 update update working directory (or switch revisions)
48
48
49 $ hg help
49 $ hg help
50 Mercurial Distributed SCM
50 Mercurial Distributed SCM
51
51
52 list of commands:
52 list of commands:
53
53
54 add add the specified files on the next commit
54 add add the specified files on the next commit
55 addremove add all new files, delete all missing files
55 addremove add all new files, delete all missing files
56 annotate show changeset information by line for each file
56 annotate show changeset information by line for each file
57 archive create an unversioned archive of a repository revision
57 archive create an unversioned archive of a repository revision
58 backout reverse effect of earlier changeset
58 backout reverse effect of earlier changeset
59 bisect subdivision search of changesets
59 bisect subdivision search of changesets
60 bookmarks track a line of development with movable markers
60 bookmarks track a line of development with movable markers
61 branch set or show the current branch name
61 branch set or show the current branch name
62 branches list repository named branches
62 branches list repository named branches
63 bundle create a changegroup file
63 bundle create a changegroup file
64 cat output the current or given revision of files
64 cat output the current or given revision of files
65 clone make a copy of an existing repository
65 clone make a copy of an existing repository
66 commit commit the specified files or all outstanding changes
66 commit commit the specified files or all outstanding changes
67 copy mark files as copied for the next commit
67 copy mark files as copied for the next commit
68 diff diff repository (or selected files)
68 diff diff repository (or selected files)
69 export dump the header and diffs for one or more changesets
69 export dump the header and diffs for one or more changesets
70 forget forget the specified files on the next commit
70 forget forget the specified files on the next commit
71 graft copy changes from other branches onto the current branch
71 graft copy changes from other branches onto the current branch
72 grep search for a pattern in specified files and revisions
72 grep search for a pattern in specified files and revisions
73 heads show current repository heads or show branch heads
73 heads show current repository heads or show branch heads
74 help show help for a given topic or a help overview
74 help show help for a given topic or a help overview
75 identify identify the working copy or specified revision
75 identify identify the working copy or specified revision
76 import import an ordered set of patches
76 import import an ordered set of patches
77 incoming show new changesets found in source
77 incoming show new changesets found in source
78 init create a new repository in the given directory
78 init create a new repository in the given directory
79 locate locate files matching specific patterns
79 locate locate files matching specific patterns
80 log show revision history of entire repository or files
80 log show revision history of entire repository or files
81 manifest output the current or given revision of the project manifest
81 manifest output the current or given revision of the project manifest
82 merge merge working directory with another revision
82 merge merge working directory with another revision
83 outgoing show changesets not found in the destination
83 outgoing show changesets not found in the destination
84 parents show the parents of the working directory or revision
84 parents show the parents of the working directory or revision
85 paths show aliases for remote repositories
85 paths show aliases for remote repositories
86 phase set or show the current phase name
86 phase set or show the current phase name
87 pull pull changes from the specified source
87 pull pull changes from the specified source
88 push push changes to the specified destination
88 push push changes to the specified destination
89 recover roll back an interrupted transaction
89 recover roll back an interrupted transaction
90 remove remove the specified files on the next commit
90 remove remove the specified files on the next commit
91 rename rename files; equivalent of copy + remove
91 rename rename files; equivalent of copy + remove
92 resolve redo merges or set/view the merge status of files
92 resolve redo merges or set/view the merge status of files
93 revert restore files to their checkout state
93 revert restore files to their checkout state
94 rollback roll back the last transaction (dangerous)
94 rollback roll back the last transaction (dangerous)
95 root print the root (top) of the current working directory
95 root print the root (top) of the current working directory
96 serve start stand-alone webserver
96 serve start stand-alone webserver
97 showconfig show combined config settings from all hgrc files
97 showconfig show combined config settings from all hgrc files
98 status show changed files in the working directory
98 status show changed files in the working directory
99 summary summarize working directory state
99 summary summarize working directory state
100 tag add one or more tags for the current or given revision
100 tag add one or more tags for the current or given revision
101 tags list repository tags
101 tags list repository tags
102 tip show the tip revision
102 tip show the tip revision
103 unbundle apply one or more changegroup files
103 unbundle apply one or more changegroup files
104 update update working directory (or switch revisions)
104 update update working directory (or switch revisions)
105 verify verify the integrity of the repository
105 verify verify the integrity of the repository
106 version output version and copyright information
106 version output version and copyright information
107
107
108 additional help topics:
108 additional help topics:
109
109
110 config Configuration Files
110 config Configuration Files
111 dates Date Formats
111 dates Date Formats
112 diffs Diff Formats
112 diffs Diff Formats
113 environment Environment Variables
113 environment Environment Variables
114 extensions Using additional features
114 extensions Using additional features
115 filesets Specifying File Sets
115 filesets Specifying File Sets
116 glossary Glossary
116 glossary Glossary
117 hgignore syntax for Mercurial ignore files
117 hgignore syntax for Mercurial ignore files
118 hgweb Configuring hgweb
118 hgweb Configuring hgweb
119 merge-tools Merge Tools
119 merge-tools Merge Tools
120 multirevs Specifying Multiple Revisions
120 multirevs Specifying Multiple Revisions
121 patterns File Name Patterns
121 patterns File Name Patterns
122 revisions Specifying Single Revisions
122 revisions Specifying Single Revisions
123 revsets Specifying Revision Sets
123 revsets Specifying Revision Sets
124 subrepos Subrepositories
124 subrepos Subrepositories
125 templating Template Usage
125 templating Template Usage
126 urls URL Paths
126 urls URL Paths
127
127
128 use "hg -v help" to show builtin aliases and global options
128 use "hg -v help" to show builtin aliases and global options
129
129
130 $ hg -q help
130 $ hg -q help
131 add add the specified files on the next commit
131 add add the specified files on the next commit
132 addremove add all new files, delete all missing files
132 addremove add all new files, delete all missing files
133 annotate show changeset information by line for each file
133 annotate show changeset information by line for each file
134 archive create an unversioned archive of a repository revision
134 archive create an unversioned archive of a repository revision
135 backout reverse effect of earlier changeset
135 backout reverse effect of earlier changeset
136 bisect subdivision search of changesets
136 bisect subdivision search of changesets
137 bookmarks track a line of development with movable markers
137 bookmarks track a line of development with movable markers
138 branch set or show the current branch name
138 branch set or show the current branch name
139 branches list repository named branches
139 branches list repository named branches
140 bundle create a changegroup file
140 bundle create a changegroup file
141 cat output the current or given revision of files
141 cat output the current or given revision of files
142 clone make a copy of an existing repository
142 clone make a copy of an existing repository
143 commit commit the specified files or all outstanding changes
143 commit commit the specified files or all outstanding changes
144 copy mark files as copied for the next commit
144 copy mark files as copied for the next commit
145 diff diff repository (or selected files)
145 diff diff repository (or selected files)
146 export dump the header and diffs for one or more changesets
146 export dump the header and diffs for one or more changesets
147 forget forget the specified files on the next commit
147 forget forget the specified files on the next commit
148 graft copy changes from other branches onto the current branch
148 graft copy changes from other branches onto the current branch
149 grep search for a pattern in specified files and revisions
149 grep search for a pattern in specified files and revisions
150 heads show current repository heads or show branch heads
150 heads show current repository heads or show branch heads
151 help show help for a given topic or a help overview
151 help show help for a given topic or a help overview
152 identify identify the working copy or specified revision
152 identify identify the working copy or specified revision
153 import import an ordered set of patches
153 import import an ordered set of patches
154 incoming show new changesets found in source
154 incoming show new changesets found in source
155 init create a new repository in the given directory
155 init create a new repository in the given directory
156 locate locate files matching specific patterns
156 locate locate files matching specific patterns
157 log show revision history of entire repository or files
157 log show revision history of entire repository or files
158 manifest output the current or given revision of the project manifest
158 manifest output the current or given revision of the project manifest
159 merge merge working directory with another revision
159 merge merge working directory with another revision
160 outgoing show changesets not found in the destination
160 outgoing show changesets not found in the destination
161 parents show the parents of the working directory or revision
161 parents show the parents of the working directory or revision
162 paths show aliases for remote repositories
162 paths show aliases for remote repositories
163 phase set or show the current phase name
163 phase set or show the current phase name
164 pull pull changes from the specified source
164 pull pull changes from the specified source
165 push push changes to the specified destination
165 push push changes to the specified destination
166 recover roll back an interrupted transaction
166 recover roll back an interrupted transaction
167 remove remove the specified files on the next commit
167 remove remove the specified files on the next commit
168 rename rename files; equivalent of copy + remove
168 rename rename files; equivalent of copy + remove
169 resolve redo merges or set/view the merge status of files
169 resolve redo merges or set/view the merge status of files
170 revert restore files to their checkout state
170 revert restore files to their checkout state
171 rollback roll back the last transaction (dangerous)
171 rollback roll back the last transaction (dangerous)
172 root print the root (top) of the current working directory
172 root print the root (top) of the current working directory
173 serve start stand-alone webserver
173 serve start stand-alone webserver
174 showconfig show combined config settings from all hgrc files
174 showconfig show combined config settings from all hgrc files
175 status show changed files in the working directory
175 status show changed files in the working directory
176 summary summarize working directory state
176 summary summarize working directory state
177 tag add one or more tags for the current or given revision
177 tag add one or more tags for the current or given revision
178 tags list repository tags
178 tags list repository tags
179 tip show the tip revision
179 tip show the tip revision
180 unbundle apply one or more changegroup files
180 unbundle apply one or more changegroup files
181 update update working directory (or switch revisions)
181 update update working directory (or switch revisions)
182 verify verify the integrity of the repository
182 verify verify the integrity of the repository
183 version output version and copyright information
183 version output version and copyright information
184
184
185 additional help topics:
185 additional help topics:
186
186
187 config Configuration Files
187 config Configuration Files
188 dates Date Formats
188 dates Date Formats
189 diffs Diff Formats
189 diffs Diff Formats
190 environment Environment Variables
190 environment Environment Variables
191 extensions Using additional features
191 extensions Using additional features
192 filesets Specifying File Sets
192 filesets Specifying File Sets
193 glossary Glossary
193 glossary Glossary
194 hgignore syntax for Mercurial ignore files
194 hgignore syntax for Mercurial ignore files
195 hgweb Configuring hgweb
195 hgweb Configuring hgweb
196 merge-tools Merge Tools
196 merge-tools Merge Tools
197 multirevs Specifying Multiple Revisions
197 multirevs Specifying Multiple Revisions
198 patterns File Name Patterns
198 patterns File Name Patterns
199 revisions Specifying Single Revisions
199 revisions Specifying Single Revisions
200 revsets Specifying Revision Sets
200 revsets Specifying Revision Sets
201 subrepos Subrepositories
201 subrepos Subrepositories
202 templating Template Usage
202 templating Template Usage
203 urls URL Paths
203 urls URL Paths
204
204
205 Test short command list with verbose option
205 Test short command list with verbose option
206
206
@@ -387,8 +387,8 b' Test ambiguous command help'
387 $ hg help ad
387 $ hg help ad
388 list of commands:
388 list of commands:
389
389
390 add add the specified files on the next commit
390 add add the specified files on the next commit
391 addremove add all new files, delete all missing files
391 addremove add all new files, delete all missing files
392
392
393 use "hg -v help ad" to show builtin aliases and global options
393 use "hg -v help ad" to show builtin aliases and global options
394
394
@@ -537,24 +537,24 b' Test command without options'
537
537
538 basic commands:
538 basic commands:
539
539
540 add add the specified files on the next commit
540 add add the specified files on the next commit
541 annotate show changeset information by line for each file
541 annotate show changeset information by line for each file
542 clone make a copy of an existing repository
542 clone make a copy of an existing repository
543 commit commit the specified files or all outstanding changes
543 commit commit the specified files or all outstanding changes
544 diff diff repository (or selected files)
544 diff diff repository (or selected files)
545 export dump the header and diffs for one or more changesets
545 export dump the header and diffs for one or more changesets
546 forget forget the specified files on the next commit
546 forget forget the specified files on the next commit
547 init create a new repository in the given directory
547 init create a new repository in the given directory
548 log show revision history of entire repository or files
548 log show revision history of entire repository or files
549 merge merge working directory with another revision
549 merge merge working directory with another revision
550 phase set or show the current phase name
550 phase set or show the current phase name
551 pull pull changes from the specified source
551 pull pull changes from the specified source
552 push push changes to the specified destination
552 push push changes to the specified destination
553 remove remove the specified files on the next commit
553 remove remove the specified files on the next commit
554 serve start stand-alone webserver
554 serve start stand-alone webserver
555 status show changed files in the working directory
555 status show changed files in the working directory
556 summary summarize working directory state
556 summary summarize working directory state
557 update update working directory (or switch revisions)
557 update update working directory (or switch revisions)
558
558
559 use "hg help" for the full list of commands or "hg -v" for details
559 use "hg help" for the full list of commands or "hg -v" for details
560 [255]
560 [255]
@@ -565,24 +565,24 b' Test command without options'
565
565
566 basic commands:
566 basic commands:
567
567
568 add add the specified files on the next commit
568 add add the specified files on the next commit
569 annotate show changeset information by line for each file
569 annotate show changeset information by line for each file
570 clone make a copy of an existing repository
570 clone make a copy of an existing repository
571 commit commit the specified files or all outstanding changes
571 commit commit the specified files or all outstanding changes
572 diff diff repository (or selected files)
572 diff diff repository (or selected files)
573 export dump the header and diffs for one or more changesets
573 export dump the header and diffs for one or more changesets
574 forget forget the specified files on the next commit
574 forget forget the specified files on the next commit
575 init create a new repository in the given directory
575 init create a new repository in the given directory
576 log show revision history of entire repository or files
576 log show revision history of entire repository or files
577 merge merge working directory with another revision
577 merge merge working directory with another revision
578 phase set or show the current phase name
578 phase set or show the current phase name
579 pull pull changes from the specified source
579 pull pull changes from the specified source
580 push push changes to the specified destination
580 push push changes to the specified destination
581 remove remove the specified files on the next commit
581 remove remove the specified files on the next commit
582 serve start stand-alone webserver
582 serve start stand-alone webserver
583 status show changed files in the working directory
583 status show changed files in the working directory
584 summary summarize working directory state
584 summary summarize working directory state
585 update update working directory (or switch revisions)
585 update update working directory (or switch revisions)
586
586
587 use "hg help" for the full list of commands or "hg -v" for details
587 use "hg help" for the full list of commands or "hg -v" for details
588 [255]
588 [255]
@@ -619,59 +619,59 b' Test that default list of commands omits'
619
619
620 list of commands:
620 list of commands:
621
621
622 add add the specified files on the next commit
622 add add the specified files on the next commit
623 addremove add all new files, delete all missing files
623 addremove add all new files, delete all missing files
624 annotate show changeset information by line for each file
624 annotate show changeset information by line for each file
625 archive create an unversioned archive of a repository revision
625 archive create an unversioned archive of a repository revision
626 backout reverse effect of earlier changeset
626 backout reverse effect of earlier changeset
627 bisect subdivision search of changesets
627 bisect subdivision search of changesets
628 bookmarks track a line of development with movable markers
628 bookmarks track a line of development with movable markers
629 branch set or show the current branch name
629 branch set or show the current branch name
630 branches list repository named branches
630 branches list repository named branches
631 bundle create a changegroup file
631 bundle create a changegroup file
632 cat output the current or given revision of files
632 cat output the current or given revision of files
633 clone make a copy of an existing repository
633 clone make a copy of an existing repository
634 commit commit the specified files or all outstanding changes
634 commit commit the specified files or all outstanding changes
635 copy mark files as copied for the next commit
635 copy mark files as copied for the next commit
636 diff diff repository (or selected files)
636 diff diff repository (or selected files)
637 export dump the header and diffs for one or more changesets
637 export dump the header and diffs for one or more changesets
638 forget forget the specified files on the next commit
638 forget forget the specified files on the next commit
639 graft copy changes from other branches onto the current branch
639 graft copy changes from other branches onto the current branch
640 grep search for a pattern in specified files and revisions
640 grep search for a pattern in specified files and revisions
641 heads show current repository heads or show branch heads
641 heads show current repository heads or show branch heads
642 help show help for a given topic or a help overview
642 help show help for a given topic or a help overview
643 identify identify the working copy or specified revision
643 identify identify the working copy or specified revision
644 import import an ordered set of patches
644 import import an ordered set of patches
645 incoming show new changesets found in source
645 incoming show new changesets found in source
646 init create a new repository in the given directory
646 init create a new repository in the given directory
647 locate locate files matching specific patterns
647 locate locate files matching specific patterns
648 log show revision history of entire repository or files
648 log show revision history of entire repository or files
649 manifest output the current or given revision of the project manifest
649 manifest output the current or given revision of the project manifest
650 merge merge working directory with another revision
650 merge merge working directory with another revision
651 outgoing show changesets not found in the destination
651 outgoing show changesets not found in the destination
652 parents show the parents of the working directory or revision
652 parents show the parents of the working directory or revision
653 paths show aliases for remote repositories
653 paths show aliases for remote repositories
654 phase set or show the current phase name
654 phase set or show the current phase name
655 pull pull changes from the specified source
655 pull pull changes from the specified source
656 push push changes to the specified destination
656 push push changes to the specified destination
657 recover roll back an interrupted transaction
657 recover roll back an interrupted transaction
658 remove remove the specified files on the next commit
658 remove remove the specified files on the next commit
659 rename rename files; equivalent of copy + remove
659 rename rename files; equivalent of copy + remove
660 resolve redo merges or set/view the merge status of files
660 resolve redo merges or set/view the merge status of files
661 revert restore files to their checkout state
661 revert restore files to their checkout state
662 rollback roll back the last transaction (dangerous)
662 rollback roll back the last transaction (dangerous)
663 root print the root (top) of the current working directory
663 root print the root (top) of the current working directory
664 serve start stand-alone webserver
664 serve start stand-alone webserver
665 showconfig show combined config settings from all hgrc files
665 showconfig show combined config settings from all hgrc files
666 status show changed files in the working directory
666 status show changed files in the working directory
667 summary summarize working directory state
667 summary summarize working directory state
668 tag add one or more tags for the current or given revision
668 tag add one or more tags for the current or given revision
669 tags list repository tags
669 tags list repository tags
670 tip show the tip revision
670 tip show the tip revision
671 unbundle apply one or more changegroup files
671 unbundle apply one or more changegroup files
672 update update working directory (or switch revisions)
672 update update working directory (or switch revisions)
673 verify verify the integrity of the repository
673 verify verify the integrity of the repository
674 version output version and copyright information
674 version output version and copyright information
675
675
676 enabled extensions:
676 enabled extensions:
677
677
@@ -679,23 +679,23 b' Test that default list of commands omits'
679
679
680 additional help topics:
680 additional help topics:
681
681
682 config Configuration Files
682 config Configuration Files
683 dates Date Formats
683 dates Date Formats
684 diffs Diff Formats
684 diffs Diff Formats
685 environment Environment Variables
685 environment Environment Variables
686 extensions Using additional features
686 extensions Using additional features
687 filesets Specifying File Sets
687 filesets Specifying File Sets
688 glossary Glossary
688 glossary Glossary
689 hgignore syntax for Mercurial ignore files
689 hgignore syntax for Mercurial ignore files
690 hgweb Configuring hgweb
690 hgweb Configuring hgweb
691 merge-tools Merge Tools
691 merge-tools Merge Tools
692 multirevs Specifying Multiple Revisions
692 multirevs Specifying Multiple Revisions
693 patterns File Name Patterns
693 patterns File Name Patterns
694 revisions Specifying Single Revisions
694 revisions Specifying Single Revisions
695 revsets Specifying Revision Sets
695 revsets Specifying Revision Sets
696 subrepos Subrepositories
696 subrepos Subrepositories
697 templating Template Usage
697 templating Template Usage
698 urls URL Paths
698 urls URL Paths
699
699
700 use "hg -v help" to show builtin aliases and global options
700 use "hg -v help" to show builtin aliases and global options
701
701
@@ -708,7 +708,7 b' Test list of commands with command with '
708
708
709 list of commands:
709 list of commands:
710
710
711 nohelp (no help text available)
711 nohelp (no help text available)
712
712
713 use "hg -v help helpext" to show builtin aliases and global options
713 use "hg -v help helpext" to show builtin aliases and global options
714
714
@@ -55,29 +55,29 b' help'
55
55
56 list of commands:
56 list of commands:
57
57
58 qapplied print the patches already applied
58 qapplied print the patches already applied
59 qclone clone main and patch repository at same time
59 qclone clone main and patch repository at same time
60 qdelete remove patches from queue
60 qdelete remove patches from queue
61 qdiff diff of the current patch and subsequent modifications
61 qdiff diff of the current patch and subsequent modifications
62 qfinish move applied patches into repository history
62 qfinish move applied patches into repository history
63 qfold fold the named patches into the current patch
63 qfold fold the named patches into the current patch
64 qgoto push or pop patches until named patch is at top of stack
64 qgoto push or pop patches until named patch is at top of stack
65 qguard set or print guards for a patch
65 qguard set or print guards for a patch
66 qheader print the header of the topmost or specified patch
66 qheader print the header of the topmost or specified patch
67 qimport import a patch
67 qimport import a patch
68 qnew create a new patch
68 qnew create a new patch
69 qnext print the name of the next patch
69 qnext print the name of the next patch
70 qpop pop the current patch off the stack
70 qpop pop the current patch off the stack
71 qprev print the name of the previous patch
71 qprev print the name of the previous patch
72 qpush push the next patch onto the stack
72 qpush push the next patch onto the stack
73 qqueue manage multiple patch queues
73 qqueue manage multiple patch queues
74 qrefresh update the current patch
74 qrefresh update the current patch
75 qrename rename a patch
75 qrename rename a patch
76 qselect set or print guarded patches to push
76 qselect set or print guarded patches to push
77 qseries print the entire series file
77 qseries print the entire series file
78 qtop print the name of the current patch
78 qtop print the name of the current patch
79 qunapplied print the patches not yet applied
79 qunapplied print the patches not yet applied
80 strip strip changesets and all their descendants from the repository
80 strip strip changesets and all their descendants from the repository
81
81
82 use "hg -v help mq" to show builtin aliases and global options
82 use "hg -v help mq" to show builtin aliases and global options
83
83
@@ -16,24 +16,24 b''
16
16
17 basic commands:
17 basic commands:
18
18
19 add add the specified files on the next commit
19 add add the specified files on the next commit
20 annotate show changeset information by line for each file
20 annotate show changeset information by line for each file
21 clone make a copy of an existing repository
21 clone make a copy of an existing repository
22 commit commit the specified files or all outstanding changes
22 commit commit the specified files or all outstanding changes
23 diff diff repository (or selected files)
23 diff diff repository (or selected files)
24 export dump the header and diffs for one or more changesets
24 export dump the header and diffs for one or more changesets
25 forget forget the specified files on the next commit
25 forget forget the specified files on the next commit
26 init create a new repository in the given directory
26 init create a new repository in the given directory
27 log show revision history of entire repository or files
27 log show revision history of entire repository or files
28 merge merge working directory with another revision
28 merge merge working directory with another revision
29 phase set or show the current phase name
29 phase set or show the current phase name
30 pull pull changes from the specified source
30 pull pull changes from the specified source
31 push push changes to the specified destination
31 push push changes to the specified destination
32 remove remove the specified files on the next commit
32 remove remove the specified files on the next commit
33 serve start stand-alone webserver
33 serve start stand-alone webserver
34 status show changed files in the working directory
34 status show changed files in the working directory
35 summary summarize working directory state
35 summary summarize working directory state
36 update update working directory (or switch revisions)
36 update update working directory (or switch revisions)
37
37
38 use "hg help" for the full list of commands or "hg -v" for details
38 use "hg help" for the full list of commands or "hg -v" for details
39 [255]
39 [255]
General Comments 0
You need to be logged in to leave comments. Login now