convert: Fix debugging output when running multiple commands with xargs.
authorThomas Arendsen Hein <thomas@intevation.de>
Fri, 08 Aug 2008 18:37:50 +0200
changeset 6868 93b03f1be289
parent 6865 d923a051f84c
child 6869 b49e01863202
convert: Fix debugging output when running multiple commands with xargs.
hgext/convert/common.py
--- a/hgext/convert/common.py	Thu Aug 07 09:31:42 2008 +0200
+++ b/hgext/convert/common.py	Fri Aug 08 18:37:50 2008 +0200
@@ -232,11 +232,11 @@
         cmdline = [util.shellquote(arg) for arg in cmdline]
         cmdline += ['2>', util.nulldev, '<', util.nulldev]
         cmdline = ' '.join(cmdline)
-        self.ui.debug(cmdline, '\n')
         return cmdline
 
     def _run(self, cmd, *args, **kwargs):
         cmdline = self._cmdline(cmd, *args, **kwargs)
+        self.ui.debug('running: %s\n' % (cmdline,))
         self.prerun()
         try:
             return util.popen(cmdline)