Help debugability: print ssh command being used when --verbose.
authorBryan O'Sullivan <bos@serpentine.com>
Fri, 23 Sep 2005 10:32:19 -0700
changeset 1332 404484c9628e
parent 1331 cfae1ed2d61f
child 1333 901c645c1943
Help debugability: print ssh command being used when --verbose.
mercurial/sshrepo.py
--- a/mercurial/sshrepo.py	Fri Sep 23 10:31:00 2005 -0700
+++ b/mercurial/sshrepo.py	Fri Sep 23 10:32:19 2005 -0700
@@ -32,6 +32,7 @@
         cmd = '%s %s "%s -R %s serve --stdio"'
         cmd = cmd % (sshcmd, args, remotecmd, self.path)
 
+        ui.note('running %s\n' % cmd)
         self.pipeo, self.pipei, self.pipee = os.popen3(cmd, 'b')
 
     def readerr(self):