[PATCH 1 of 2] chg: silently inherit server exit code

Pierre-Yves David pierre-yves.david at ens-lyon.org
Fri Mar 11 07:56:56 EST 2016



On 03/11/2016 12:48 PM, Jun Wu wrote:
> # HG changeset patch
> # User Jun Wu <quark at fb.com>
> # Date 1457664726 0
> #      Fri Mar 11 02:52:06 2016 +0000
> # Node ID b39cdec1d4e8817cf096474642ad8337d218d126
> # Parent  5021398417ed44f7d589879ff74ce9e9eaf20b5b
> chg: silently inherit server exit code
>
> If chgserver aborts during startup, for example, error.ParseError when parsing
> a config file, chg client probably just wants to exit with a same exit code
> without printing other unrelated text. This patch changes the text "cmdserver
> exited with status" from abortmsg to debugmsg and exits with a same exit code.

I'm surprised we don't get a test update for that. Do we have any 
testing of this?

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list