x64 hg.exe
Adrian Buehlmann
adrian at cadifra.com
Fri Jun 22 06:07:09 CDT 2012
On 2012-06-22 03:42, Adrian Buehlmann wrote:
> I've built an exemaker exe
>
> hg-x64-385eaa517487.exe
No luck. The serve tests fail with the exe when -d is specified:
$ hg --traceback serve -n test -p 20059 -d --pid-file=hg.pid -E errors.log
Traceback (most recent call last):
File "C:\Users\adi\hgrepos\hg-main\mercurial\dispatch.py", line 88, in _runcatch
return _dispatch(req)
File "C:\Users\adi\hgrepos\hg-main\mercurial\dispatch.py", line 739, in _dispatch
cmdpats, cmdoptions)
File "C:\Users\adi\hgrepos\hg-main\mercurial\dispatch.py", line 513, in runcommand
ret = _runcommand(ui, options, cmd, d)
File "C:\Users\adi\hgrepos\hg-main\mercurial\dispatch.py", line 829, in _runcommand
return checkargs()
File "C:\Users\adi\hgrepos\hg-main\mercurial\dispatch.py", line 800, in checkargs
return cmdfunc()
File "C:\Users\adi\hgrepos\hg-main\mercurial\dispatch.py", line 736, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
File "C:\Users\adi\hgrepos\hg-main\mercurial\util.py", line 475, in check
return func(*args, **kwargs)
File "C:\Users\adi\hgrepos\hg-main\mercurial\extensions.py", line 139, in wrap
util.checksignature(origfn), *args, **kwargs)
File "C:\Users\adi\hgrepos\hg-main\mercurial\util.py", line 475, in check
return func(*args, **kwargs)
File "C:\Users\adi\hgrepos\hg-main\hgext\mq.py", line 3505, in mqcommand
return orig(ui, repo, *args, **kwargs)
File "C:\Users\adi\hgrepos\hg-main\mercurial\util.py", line 475, in check
return func(*args, **kwargs)
File "C:\Users\adi\hgrepos\hg-main\mercurial\commands.py", line 5120, in serve
cmdutil.service(opts, initfn=service.init, runfn=service.run)
File "C:\Users\adi\hgrepos\hg-main\mercurial\cmdutil.py", line 486, in service
raise util.Abort(_('child process failed to start'))
Abort: child process failed to start
abort: child process failed to start
And it's not because of a problem with the port. An identical
$ python hg.py --traceback serve -n test -p 20070 -d --pid-file=hg.pid -E errors.log
adi at kork /hgrepos/hg-main
works.
Without -d, the exe works:
$ hg --traceback serve -n test -p 20059
So there's a problem with --daemon in combination with the exe.
More information about the Mercurial-devel
mailing list