Issue45

Title Add -f to hg serve to run in the background
Priority feature Status resolved
Superseder Nosy List ThomasAH, jsipek, mpm, tonfa, vadim
Assigned To vadim Topics

Created on 2005-10-27.20:29:30 by mpm, last changed 2006-03-31.08:39:01 by ThomasAH.

Messages
msg889 (view) Author: ThomasAH Date: 2006-03-31.08:39:01
I assume it works now for everyone.
msg783 (view) Author: ThomasAH Date: 2006-03-21.10:17:14
Matt, does this work for you now?
msg618 (view) Author: mpm Date: 2006-03-04.12:40:13
On Sat, Mar 04, 2006 at 05:37:48AM +0000, Bryan O'Sullivan wrote:
> 
> Bryan O'Sullivan <bos@serpentine.com> added the comment:
> 
> Matt said he saw some test failures due to this change, but I've never been able
> to reproduce them.
> 
> Matt, any reason we shouldn't close this as fixed?

Still breaks conistently for me. Something leaves an hg serve running,
causing later tests to fail.
msg611 (view) Author: bos Date: 2006-03-04.05:37:46
Matt said he saw some test failures due to this change, but I've never been able
to reproduce them.

Matt, any reason we shouldn't close this as fixed?
msg503 (view) Author: vadim Date: 2006-02-18.00:29:30
please look in crew. i have used option name -d,--daemon.
code is little strange, because uses os.spawnvp to be portable.
for msg223, server is completely started when parent process exits. no race.
msg223 (view) Author: tonfa Date: 2005-11-19.17:32:11
I don't see how to daemonize and be sure that the server is completely started.
(a classic backgrounding doesn't solve the startup races)
msg83 (view) Author: mpm Date: 2005-10-27.20:29:29
This will help fix startup races with running hg serve in shell scripts.
History
Date User Action Args
2006-03-31 08:39:01ThomasAHsetstatus: testing -> resolved
nosy: mpm, vadim, ThomasAH, tonfa, jsipek
messages: + msg889
2006-03-21 10:17:15ThomasAHsetnosy: + ThomasAH
messages: + msg783
2006-03-04 12:40:16mpmsetnosy: mpm, vadim, tonfa, jsipek
messages: + msg618
2006-03-04 05:37:48bossetnosy: mpm, vadim, tonfa, jsipek
messages: + msg611
2006-02-18 00:29:38vadimsetstatus: chatting -> testing
assignedto: vadim
messages: + msg503
nosy: + vadim
2006-01-23 02:45:42jsipeksetnosy: + jsipek
2005-11-19 17:32:12tonfasetstatus: unread -> chatting
nosy: + tonfa
messages: + msg223
2005-10-27 20:29:30mpmcreate