incoming exit status

Matt Mackall mpm at selenic.com
Wed Nov 10 13:50:09 CST 2010


On Wed, 2010-11-10 at 20:08 +0100, Jason Harris wrote:
> Personally, I still feel that a valid command, that has executed in a valid way, returning a valid result of (nothing) should have an exit code of 0.

Simply put, you're wrong. The grep command was created on March 3, 1973,
so there's decades of historical and standards precedent for giving
useful exit codes.

There's also now half a decade of precedent _in Mercurial itself_ and
people in this very thread have already pointed out that they depend on
that behavior.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial mailing list