##// END OF EJS Templates
commands: document return values of add and paths commands
Nicolas Dumazet -
r11507:35e2d453 stable
parent child Browse files
Show More
@@ -42,6 +42,8 b' def add(ui, repo, *pats, **opts):'
42 42 adding foo.c
43 43 $ hg status
44 44 A foo.c
45
46 Returns 0 if all files are successfully added.
45 47 """
46 48
47 49 bad = []
@@ -2732,6 +2734,8 b' def paths(ui, repo, search=None):'
2732 2734 :hg:`bundle`) operations.
2733 2735
2734 2736 See :hg:`help urls` for more information.
2737
2738 Returns 0 on success.
2735 2739 """
2736 2740 if search:
2737 2741 for name, path in ui.configitems("paths"):
@@ -252,6 +252,8 b' add the specified files on the next comm'
252 252
253 253 If no names are given, add all files to the repository.
254 254
255 Returns 0 if all files are successfully added.
256
255 257 use "hg -v help add" to show verbose help
256 258
257 259 options:
@@ -287,6 +289,8 b' add the specified files on the next comm'
287 289 $ hg status
288 290 A foo.c
289 291
292 Returns 0 if all files are successfully added.
293
290 294 options:
291 295
292 296 -I --include PATTERN [+] include names matching the given patterns
@@ -332,6 +336,8 b' add the specified files on the next comm'
332 336
333 337 If no names are given, add all files to the repository.
334 338
339 Returns 0 if all files are successfully added.
340
335 341 use "hg -v help add" to show verbose help
336 342
337 343 options:
@@ -355,6 +361,8 b' add the specified files on the next comm'
355 361
356 362 If no names are given, add all files to the repository.
357 363
364 Returns 0 if all files are successfully added.
365
358 366 use "hg -v help add" to show verbose help
359 367
360 368 options:
General Comments 0
You need to be logged in to leave comments. Login now