hg diff/status always returns zero?

Stephen Rasku mercurial at srasku.net
Wed May 6 14:20:27 CDT 2009


It seems that "hg status" and "hg diff" always return zero regardless
of whether there are changes or not.  Is this correct?  If so, is it
deliberate?  I would like to call these functions from a script and
having a non-zero return code when there are changes would simplify my
development.

...Stephen


More information about the Mercurial mailing list