convert: Fix debugging output when running multiple commands with xargs.
--- 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)