equal
deleted
inserted
replaced
230 except TypeError: |
230 except TypeError: |
231 pass |
231 pass |
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) |
243 finally: |
243 finally: |
244 self.postrun() |
244 self.postrun() |