Show More
@@ -42,6 +42,8 b' def add(ui, repo, *pats, **opts):' | |||||
42 | adding foo.c |
|
42 | adding foo.c | |
43 | $ hg status |
|
43 | $ hg status | |
44 | A foo.c |
|
44 | A foo.c | |
|
45 | ||||
|
46 | Returns 0 if all files are successfully added. | |||
45 | """ |
|
47 | """ | |
46 |
|
48 | |||
47 | bad = [] |
|
49 | bad = [] | |
@@ -2732,6 +2734,8 b' def paths(ui, repo, search=None):' | |||||
2732 | :hg:`bundle`) operations. |
|
2734 | :hg:`bundle`) operations. | |
2733 |
|
2735 | |||
2734 | See :hg:`help urls` for more information. |
|
2736 | See :hg:`help urls` for more information. | |
|
2737 | ||||
|
2738 | Returns 0 on success. | |||
2735 | """ |
|
2739 | """ | |
2736 | if search: |
|
2740 | if search: | |
2737 | for name, path in ui.configitems("paths"): |
|
2741 | for name, path in ui.configitems("paths"): |
@@ -252,6 +252,8 b' add the specified files on the next comm' | |||||
252 |
|
252 | |||
253 | If no names are given, add all files to the repository. |
|
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 | use "hg -v help add" to show verbose help |
|
257 | use "hg -v help add" to show verbose help | |
256 |
|
258 | |||
257 | options: |
|
259 | options: | |
@@ -287,6 +289,8 b' add the specified files on the next comm' | |||||
287 | $ hg status |
|
289 | $ hg status | |
288 | A foo.c |
|
290 | A foo.c | |
289 |
|
291 | |||
|
292 | Returns 0 if all files are successfully added. | |||
|
293 | ||||
290 | options: |
|
294 | options: | |
291 |
|
295 | |||
292 | -I --include PATTERN [+] include names matching the given patterns |
|
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 | If no names are given, add all files to the repository. |
|
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 | use "hg -v help add" to show verbose help |
|
341 | use "hg -v help add" to show verbose help | |
336 |
|
342 | |||
337 | options: |
|
343 | options: | |
@@ -355,6 +361,8 b' add the specified files on the next comm' | |||||
355 |
|
361 | |||
356 | If no names are given, add all files to the repository. |
|
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 | use "hg -v help add" to show verbose help |
|
366 | use "hg -v help add" to show verbose help | |
359 |
|
367 | |||
360 | options: |
|
368 | options: |
General Comments 0
You need to be logged in to leave comments.
Login now