addremove command always returns 0

Andrey Somov py4fun at gmail.com
Wed Feb 1 18:15:22 UTC 2012


Hi all,
the 'addremove' command always returns 0, even when all the provided files
have been rejected.
(I have noticed it running the CommandServer.)

Should the last line of the help be changed into "Returns 0 on success." ?

def addremove(ui, repo, *pats, **opts):
   """add all new files, delete all missing files
   ...
   Returns 0 if all files are successfully added.
   """

-
Andrey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-devel/attachments/20120201/679f1d68/attachment-0002.html>


More information about the Mercurial-devel mailing list