D3209: amend: exit 0 if there are no changes
quark (Jun Wu)
phabricator at mercurial-scm.org
Mon Apr 9 19:37:31 EDT 2018
quark added a comment.
Returning 1 is actually more consistent with other core commands like pull, push, commit. See https://www.mercurial-scm.org/pipermail/mercurial-devel/2012-January/037711.html. Scripts should be updated to use `$?` explicitly.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D3209
To: spectral, #hg-reviewers
Cc: quark, mercurial-devel
More information about the Mercurial-devel
mailing list