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

Jun Wu quark at fb.com
Fri Mar 11 05:54:42 EST 2016


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.

> AttributeError is raised on Windows.

Thanks for pointing this out. I probably should setup Windows test environment
for these change.


More information about the Mercurial-devel mailing list