##// END OF EJS Templates
test-help: improve test coverage...
Henri Wiechers -
r10110:9ed13f71 default
parent child Browse files
Show More
@@ -4,6 +4,10 b' hg'
4 hg -q
4 hg -q
5 hg help
5 hg help
6 hg -q help
6 hg -q help
7
8 echo %% test short command list with verbose option
9 hg -v help shortlist | sed 's/[(]version [^)]*[)]/(version xxx)/'
10
7 hg add -h
11 hg add -h
8 hg add --skjdfks
12 hg add --skjdfks
9 hg help diff
13 hg help diff
@@ -170,6 +170,68 b' additional help topics:'
170 templating Template Usage
170 templating Template Usage
171 urls URL Paths
171 urls URL Paths
172 extensions Using additional features
172 extensions Using additional features
173 %% test short command list with verbose option
174 Mercurial Distributed SCM (version xxx)
175
176 Copyright (C) 2005-2009 Matt Mackall <mpm@selenic.com> and others
177 This is free software; see the source for copying conditions. There is NO
178 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
179
180 basic commands:
181
182 add:
183 add the specified files on the next commit
184 annotate, blame:
185 show changeset information by line for each file
186 clone:
187 make a copy of an existing repository
188 commit, ci:
189 commit the specified files or all outstanding changes
190 diff:
191 diff repository (or selected files)
192 export:
193 dump the header and diffs for one or more changesets
194 forget:
195 forget the specified files on the next commit
196 init:
197 create a new repository in the given directory
198 log, history:
199 show revision history of entire repository or files
200 merge:
201 merge working directory with another revision
202 pull:
203 pull changes from the specified source
204 push:
205 push changes to the specified destination
206 remove, rm:
207 remove the specified files on the next commit
208 serve:
209 export the repository via HTTP
210 status, st:
211 show changed files in the working directory
212 summary, sum:
213 summarize working directory state
214 update, up, checkout, co:
215 update working directory
216
217 global options:
218 -R --repository repository root directory or name of overlay bundle file
219 --cwd change working directory
220 -y --noninteractive do not prompt, assume 'yes' for any required answers
221 -q --quiet suppress output
222 -v --verbose enable additional output
223 --config set/override config option
224 --debug enable debugging output
225 --debugger start debugger
226 --encoding set the charset encoding (default: ascii)
227 --encodingmode set the charset encoding mode (default: strict)
228 --traceback always print a traceback on exception
229 --time time how long the command takes
230 --profile print command execution profile
231 --version output version information and exit
232 -h --help display help and exit
233
234 use "hg help" for the full list of commands
173 hg add [OPTION]... [FILE]...
235 hg add [OPTION]... [FILE]...
174
236
175 add the specified files on the next commit
237 add the specified files on the next commit
General Comments 0
You need to be logged in to leave comments. Login now