comparison tests/test-help.out @ 849:8933ef744325

Further help improvements: Show command aliases in 'hg help something', unless in quiet mode. Show short command description with 'hg help -q something'. Show global options in verbose mode of command help. State that Mercurial is a Distributed SCM.
author Thomas Arendsen Hein <thomas@intevation.de>
date Sat, 06 Aug 2005 15:43:12 +0100
parents 221628fe9b62
children c2e77581bc84 d4cb383e7de7 62ec665759f2 01215ad04283
comparison
equal deleted inserted replaced
848:221628fe9b62 849:8933ef744325
1 + hg
2 Mercurial Distributed SCM
3
4 basic commands (use "hg help" for the full list or option "-v" for details):
5
6 add add the specified files on the next commit
7 annotate show changeset information per file line
8 clone make a copy of an existing repository
9 commit commit the specified files or all outstanding changes
10 diff diff working directory (or selected files)
11 export dump the header and diffs for one or more changesets
12 init create a new repository in the current directory
13 log show the revision history of the repository or a single file
14 pull pull changes from the specified source
15 push push changes to the specified destination
16 remove remove the specified files on the next commit
17 revert revert modified files or dirs back to their unmodified states
18 serve export the repository via HTTP
19 status show changed files in the working directory
20 update update or merge working directory
21 + hg -q
22 add add the specified files on the next commit
23 annotate show changeset information per file line
24 clone make a copy of an existing repository
25 commit commit the specified files or all outstanding changes
26 diff diff working directory (or selected files)
27 export dump the header and diffs for one or more changesets
28 init create a new repository in the current directory
29 log show the revision history of the repository or a single file
30 pull pull changes from the specified source
31 push push changes to the specified destination
32 remove remove the specified files on the next commit
33 revert revert modified files or dirs back to their unmodified states
34 serve export the repository via HTTP
35 status show changed files in the working directory
36 update update or merge working directory
1 + hg help 37 + hg help
38 Mercurial Distributed SCM
39
40 list of commands (use "hg help -v" to show aliases and global options):
41
2 add add the specified files on the next commit 42 add add the specified files on the next commit
3 addremove add all new files, delete all missing files 43 addremove add all new files, delete all missing files
4 annotate show changeset information per file line 44 annotate show changeset information per file line
5 cat output the latest or given revision of a file 45 cat output the latest or given revision of a file
6 clone make a copy of an existing repository 46 clone make a copy of an existing repository
74 version output version and copyright information 114 version output version and copyright information
75 + hg add -h 115 + hg add -h
76 hg add: option -h not recognized 116 hg add: option -h not recognized
77 hg add [FILE]... 117 hg add [FILE]...
78 118
79 -I --include
80 include path in search
81 -X --exclude
82 exclude path from search
83
84 add the specified files on the next commit 119 add the specified files on the next commit
120
121 options:
122
123 -I --include
124 include path in search
125 -X --exclude
126 exclude path from search
85 + hg add --skjdfks 127 + hg add --skjdfks
86 hg add: option --skjdfks not recognized 128 hg add: option --skjdfks not recognized
87 hg add [FILE]... 129 hg add [FILE]...
88 130
89 -I --include
90 include path in search
91 -X --exclude
92 exclude path from search
93
94 add the specified files on the next commit 131 add the specified files on the next commit
132
133 options:
134
135 -I --include
136 include path in search
137 -X --exclude
138 exclude path from search
95 + hg help diff 139 + hg help diff
96 hg diff [-r REV1 [-r REV2]] [FILE]... 140 hg diff [-r REV1 [-r REV2]] [FILE]...
97 141
142 diff working directory (or selected files)
143
144 options:
145
98 -r --rev 146 -r --rev
99 revision 147 revision
100 -I --include 148 -I --include
101 include path in search 149 include path in search
102 -X --exclude 150 -X --exclude
103 exclude path from search 151 exclude path from search
104 152 + hg help status
105 diff working directory (or selected files) 153 hg status [FILE]...
154
155 show changed files in the working directory
156
157 M = modified
158 A = added
159 R = removed
160 ? = not tracked
161
162 options:
163
164 -m --modified
165 show only modified files
166 -a --added
167 show only added files
168 -r --removed
169 show only removed files
170 -u --unknown
171 show only unknown (not tracked) files
172 -I --include
173 include path in search
174 -X --exclude
175 exclude path from search
176 + hg -q help status
177 hg status [FILE]...
178
179 show changed files in the working directory
106 + hg help foo 180 + hg help foo
107 hg: unknown command 'foo' 181 hg: unknown command 'foo'
108 basic hg commands (use "hg help" for more): 182 Mercurial Distributed SCM
109 183
110 add add the specified files on the next commit 184 basic commands (use "hg help" for the full list or option "-v" for details):
111 annotate show changeset information per file line 185
112 clone make a copy of an existing repository 186 add add the specified files on the next commit
113 commit commit the specified files or all outstanding changes 187 annotate show changeset information per file line
114 diff diff working directory (or selected files) 188 clone make a copy of an existing repository
115 export dump the header and diffs for one or more changesets 189 commit commit the specified files or all outstanding changes
116 init create a new repository in the current directory 190 diff diff working directory (or selected files)
117 log show the revision history of the repository or a single file 191 export dump the header and diffs for one or more changesets
118 pull pull changes from the specified source 192 init create a new repository in the current directory
119 push push changes to the specified destination 193 log show the revision history of the repository or a single file
120 remove remove the specified files on the next commit 194 pull pull changes from the specified source
121 revert revert modified files or dirs back to their unmodified states 195 push push changes to the specified destination
122 serve export the repository via HTTP 196 remove remove the specified files on the next commit
123 status show changed files in the working directory 197 revert revert modified files or dirs back to their unmodified states
124 update update or merge working directory 198 serve export the repository via HTTP
125 + hg -q commands 199 status show changed files in the working directory
126 hg: unknown command 'commands' 200 update update or merge working directory
127 basic hg commands (use "hg help" for more): 201 + hg skjdfks
128 202 hg: unknown command 'skjdfks'
129 add add the specified files on the next commit 203 Mercurial Distributed SCM
130 annotate show changeset information per file line 204
131 clone make a copy of an existing repository 205 basic commands (use "hg help" for the full list or option "-v" for details):
132 commit commit the specified files or all outstanding changes 206
133 diff diff working directory (or selected files) 207 add add the specified files on the next commit
134 export dump the header and diffs for one or more changesets 208 annotate show changeset information per file line
135 init create a new repository in the current directory 209 clone make a copy of an existing repository
136 log show the revision history of the repository or a single file 210 commit commit the specified files or all outstanding changes
137 pull pull changes from the specified source 211 diff diff working directory (or selected files)
138 push push changes to the specified destination 212 export dump the header and diffs for one or more changesets
139 remove remove the specified files on the next commit 213 init create a new repository in the current directory
140 revert revert modified files or dirs back to their unmodified states 214 log show the revision history of the repository or a single file
141 serve export the repository via HTTP 215 pull pull changes from the specified source
142 status show changed files in the working directory 216 push push changes to the specified destination
143 update update or merge working directory 217 remove remove the specified files on the next commit
218 revert revert modified files or dirs back to their unmodified states
219 serve export the repository via HTTP
220 status show changed files in the working directory
221 update update or merge working directory