[PATCH 1 of 2] cmdutil.service: do not _exit(0) in the parent process

Nicolas Dumazet nicdumz at gmail.com
Tue Nov 17 02:22:16 CST 2009


2009/11/17 Benoit Boissinot <benoit.boissinot at ens-lyon.org>:
> On Tue, Nov 17, 2009 at 07:22:37AM -0000, Nicolas Dumazet wrote:
>>  abort: could not start server: File exists
>> +could not talk to new inotify server: No such file or directory
>>  abort: could not start server: File exists
>>  % inserve
>>  % status
>
> Is this the correct message?

It is.

Printed by "hg st":
   * First "File exists" is printed when the "hg st" child fails at
creating the already existing inotify socket
    * "could not talk" is the "hg st" parent complaining that he cant
communicate with the child he just started. It's normal, because it
crashed.
         - "No such file or directory" happens because the existing
socket is a broken symlink: target does not exist.

Second "file exists" is printed by "hg inserve"; same reason as the first one.


-- 
Nicolas Dumazet — NicDumZ


More information about the Mercurial-devel mailing list