[PATCH 3 of 3] chg: forward job control signals to worker process (issue5051)

Pierre-Yves David pierre-yves.david at ens-lyon.org
Fri Feb 12 09:47:35 EST 2016



On 02/11/2016 02:05 PM, Yuya Nishihara wrote:
> # HG changeset patch
> # User Yuya Nishihara <yuya at tcha.org>
> # Date 1453210319 -32400
> #      Tue Jan 19 22:31:59 2016 +0900
> # Node ID 63251841f5f927f677b90957eec1230017f3a515
> # Parent  def82508e22c33bdfe042fd372bddf6dc3f93e2c
> chg: forward job control signals to worker process (issue5051)
>
> This is necessary to suspend/resume long pulls, interactive curses session,
> etc.
>
> The implementation is based on emacsclient, but our version doesn't test if
> chg process is foreground or not before propagating SIGCONT. This is because
> chg isn't always an interactive session. If we copy the SIGTTIN/SIGTTOU
> emulation from emacsclient, non-interactive session can't be moved to a
> background job.


This seems reasonable to me and I'm adding Jun, Yuya and Sean for 
confidence. I've this pushed to the clowncopter.

Thanks.

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list