Show More
@@ -32,7 +32,6 b' def start_server(function):' | |||||
32 | 'socket; removing it\n')) |
|
32 | 'socket; removing it\n')) | |
33 | os.unlink(os.path.join(self.root, '.hg', 'inotify.sock')) |
|
33 | os.unlink(os.path.join(self.root, '.hg', 'inotify.sock')) | |
34 | if err.args[0] in (errno.ECONNREFUSED, errno.ENOENT) and autostart: |
|
34 | if err.args[0] in (errno.ECONNREFUSED, errno.ENOENT) and autostart: | |
35 | self.ui.debug('(starting inotify server)\n') |
|
|||
36 | try: |
|
35 | try: | |
37 | try: |
|
36 | try: | |
38 | server.start(self.ui, self.dirstate, self.root, |
|
37 | server.start(self.ui, self.dirstate, self.root, |
@@ -484,5 +484,6 b' def start(ui, dirstate, root, opts):' | |||||
484 |
|
484 | |||
485 | appendpid = ui.configbool('inotify', 'appendpid', False) |
|
485 | appendpid = ui.configbool('inotify', 'appendpid', False) | |
486 |
|
486 | |||
|
487 | ui.debug('starting inotify server: %s\n' % ' '.join(runargs)) | |||
487 | cmdutil.service(opts, initfn=service.init, runfn=service.run, |
|
488 | cmdutil.service(opts, initfn=service.init, runfn=service.run, | |
488 | logfile=logfile, runargs=runargs, appendpid=appendpid) |
|
489 | logfile=logfile, runargs=runargs, appendpid=appendpid) |
General Comments 0
You need to be logged in to leave comments.
Login now