##// END OF EJS Templates
convert: Fix debugging output when running multiple commands with xargs.
Thomas Arendsen Hein -
r6868:93b03f1b default
parent child Browse files
Show More
@@ -232,11 +232,11 b' class commandline(object):'
232 cmdline = [util.shellquote(arg) for arg in cmdline]
232 cmdline = [util.shellquote(arg) for arg in cmdline]
233 cmdline += ['2>', util.nulldev, '<', util.nulldev]
233 cmdline += ['2>', util.nulldev, '<', util.nulldev]
234 cmdline = ' '.join(cmdline)
234 cmdline = ' '.join(cmdline)
235 self.ui.debug(cmdline, '\n')
236 return cmdline
235 return cmdline
237
236
238 def _run(self, cmd, *args, **kwargs):
237 def _run(self, cmd, *args, **kwargs):
239 cmdline = self._cmdline(cmd, *args, **kwargs)
238 cmdline = self._cmdline(cmd, *args, **kwargs)
239 self.ui.debug('running: %s\n' % (cmdline,))
240 self.prerun()
240 self.prerun()
241 try:
241 try:
242 return util.popen(cmdline)
242 return util.popen(cmdline)
General Comments 0
You need to be logged in to leave comments. Login now