[PATCH 4 of 4] serve: ignore os.setsid EPERM error

Yuya Nishihara yuya at tcha.org
Fri Mar 11 06:35:40 EST 2016


On Fri, 11 Mar 2016 10:54:42 +0000, Jun Wu wrote:
> On 03/11/2016 08:14 AM, Yuya Nishihara wrote:
> > Does it happen in real use case? It would be harmless to ignore EPERM, but
> > seems not correct as --daemon-postexec should be called after fork().
> 
> I sometimes set ipdb and manually start the server. I think power users
> may want to control their servers manually in some cases.

Okay, then, can you change it to a warning so that we don't miss a bad use
of --daemon-postexec?


More information about the Mercurial-devel mailing list