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