changeset 11943:2d3cbcace897

inotify: show the exact command used to start the server
author Greg Ward <greg-hg@gerg.ca>
date Fri, 13 Aug 2010 13:16:34 -0400
parents 50a4e55aa278
children df52ff0980fe
files hgext/inotify/client.py hgext/inotify/server.py
diffstat 2 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/inotify/client.py	Tue Aug 17 17:46:10 2010 +0200
+++ b/hgext/inotify/client.py	Fri Aug 13 13:16:34 2010 -0400
@@ -32,7 +32,6 @@
                                'socket; removing it\n'))
                 os.unlink(os.path.join(self.root, '.hg', 'inotify.sock'))
             if err.args[0] in (errno.ECONNREFUSED, errno.ENOENT) and autostart:
-                self.ui.debug('(starting inotify server)\n')
                 try:
                     try:
                         server.start(self.ui, self.dirstate, self.root,
--- a/hgext/inotify/server.py	Tue Aug 17 17:46:10 2010 +0200
+++ b/hgext/inotify/server.py	Fri Aug 13 13:16:34 2010 -0400
@@ -484,5 +484,6 @@
 
     appendpid = ui.configbool('inotify', 'appendpid', False)
 
+    ui.debug('starting inotify server: %s\n' % ' '.join(runargs))
     cmdutil.service(opts, initfn=service.init, runfn=service.run,
                     logfile=logfile, runargs=runargs, appendpid=appendpid)