changeset 6868:93b03f1be289

convert: Fix debugging output when running multiple commands with xargs.
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 08 Aug 2008 18:37:50 +0200
parents d923a051f84c
children b49e01863202
files hgext/convert/common.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)