comparison tests/test-help.out @ 596:9a8daeff0ffa

A bunch of parsing/help updates -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 A bunch of parsing/help updates more explanation of how to get non-basic commands shorten names of debug functions and add docstrings add undo long docstring promote anotate, export, and revert make the global opts array global refactor parsing kill two unused arguments to fancyopts update test-help manifest hash: 459ae2273aaf54f71b4576677a681dc53ab2908c -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCyEDhywK+sNU5EO8RAr0DAJ9LTu8Fc2quLRtuwLPTQzWqlOJWKwCbBpZk pnMkYnshsutVYljcil1P46I= =Sleg -----END PGP SIGNATURE-----
author mpm@selenic.com
date Sun, 03 Jul 2005 11:47:45 -0800
parents ca3c499e94c6
children 116b2d3f4554 c6b912f8b5b2
comparison
equal deleted inserted replaced
595:c2c2c6d617bd 596:9a8daeff0ffa
1 + hg -q help 1 basic hg commands (use "hg help -v" for more):
2 basic hg commands (use -v for long list):
3 2
4 add add the specified files on the next commit 3 add add the specified files on the next commit
5 clone make a copy of an existing repository 4 annotate show changeset information per file line
6 commit commit the specified files or all outstanding changes 5 clone make a copy of an existing repository
7 diff diff working directory (or selected files) 6 commit commit the specified files or all outstanding changes
8 init create a new repository in the current directory 7 diff diff working directory (or selected files)
9 log show the revision history of the repository or a single file 8 export dump the header and diffs for one or more changesets
10 pull pull changes from the specified source 9 init create a new repository in the current directory
11 push push changes to the specified destination 10 log show the revision history of the repository or a single file
12 remove remove the specified files on the next commit 11 pull pull changes from the specified source
13 serve export the repository via HTTP 12 push push changes to the specified destination
14 status show changed files in the working directory 13 remove remove the specified files on the next commit
15 update update or merge working directory 14 revert revert modified files or dirs back to their unmodified states
16 + hg add -h 15 serve export the repository via HTTP
16 status show changed files in the working directory
17 update update or merge working directory
18 basic hg commands (use "hg help -v" for more):
19
20 add add the specified files on the next commit
21 annotate show changeset information per file line
22 clone make a copy of an existing repository
23 commit commit the specified files or all outstanding changes
24 diff diff working directory (or selected files)
25 export dump the header and diffs for one or more changesets
26 init create a new repository in the current directory
27 log show the revision history of the repository or a single file
28 pull pull changes from the specified source
29 push push changes to the specified destination
30 remove remove the specified files on the next commit
31 revert revert modified files or dirs back to their unmodified states
32 serve export the repository via HTTP
33 status show changed files in the working directory
34 update update or merge working directory
17 hg add: option -h not recognized 35 hg add: option -h not recognized
18 hg add [files] 36 hg add [files]
19 37
20 add the specified files on the next commit 38 add the specified files on the next commit
21 + hg help diff 39 hg add: option --skjdfks not recognized
40 hg add [files]
41
42 add the specified files on the next commit
22 hg diff [-r A] [-r B] [files] 43 hg diff [-r A] [-r B] [files]
23 44
24 -r --rev 45 -r --rev
25 revision 46 revision
26 47
27 diff working directory (or selected files) 48 diff working directory (or selected files)
28 + hg help foo
29 hg: unknown command foo 49 hg: unknown command foo
30 + hg -q commands
31 hg: unknown command 'commands' 50 hg: unknown command 'commands'
32 basic hg commands (use -v for long list): 51 basic hg commands (use "hg help -v" for more):
33 52
34 add add the specified files on the next commit 53 add add the specified files on the next commit
35 clone make a copy of an existing repository 54 annotate show changeset information per file line
36 commit commit the specified files or all outstanding changes 55 clone make a copy of an existing repository
37 diff diff working directory (or selected files) 56 commit commit the specified files or all outstanding changes
38 init create a new repository in the current directory 57 diff diff working directory (or selected files)
39 log show the revision history of the repository or a single file 58 export dump the header and diffs for one or more changesets
40 pull pull changes from the specified source 59 init create a new repository in the current directory
41 push push changes to the specified destination 60 log show the revision history of the repository or a single file
42 remove remove the specified files on the next commit 61 pull pull changes from the specified source
43 serve export the repository via HTTP 62 push push changes to the specified destination
44 status show changed files in the working directory 63 remove remove the specified files on the next commit
45 update update or merge working directory 64 revert revert modified files or dirs back to their unmodified states
46 + exit 0 65 serve export the repository via HTTP
66 status show changed files in the working directory
67 update update or merge working directory