addremove command always returns 0

Andrey Somov py4fun at gmail.com
Wed Feb 1 12:15:22 CST 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://selenic.com/pipermail/mercurial-devel/attachments/20120201/679f1d68/attachment.html>


More information about the Mercurial-devel mailing list