inotify: show the exact command used to start the server
authorGreg Ward <greg-hg@gerg.ca>
Fri, 13 Aug 2010 13:16:34 -0400
changeset 11943 2d3cbcace897
parent 11942 50a4e55aa278
child 11944 df52ff0980fe
inotify: show the exact command used to start the server
hgext/inotify/client.py
hgext/inotify/server.py
--- 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)