quark added a comment.
I think it depends on what scripts want to do. I guess mpm's original point is, suppose you have a build script, or something that should do nothing if nothing changed, then `hg amend && build_script` just works as expected. If amend returns 0, then it'd be more complex to detect "nothing changed" case. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D3209 To: spectral, #hg-reviewers Cc: quark, mercurial-devel _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel