[PATCH 1 of 4 V3] chgserver: implement validate command

Jun Wu quark at fb.com
Sun Mar 6 07:38:45 EST 2016

On 03/06/2016 10:26 AM, Yuya Nishihara wrote:
> I noticed the inconsistency between self.ui and self.hashstate.confighash,
> but that's okay so long as the server process is forked per request. If the
> server process is permanent, and if the client ignores the "redirect"
> instruction and send "runcommand", new extension would be loaded.

Right. The behavior relies on "fork". I don't think we can switch to
threads easily because SIGINT will be much harder to handle correctly.

More information about the Mercurial-devel mailing list