mercurial/ui.py
changeset 25149 3f0744eeaeaf
parent 25125 bd625cd4e5e7
child 25363 3ff4b07412ad
equal deleted inserted replaced
25148:3b5cd6f13dcc 25149:3f0744eeaeaf
   840     def system(self, cmd, environ={}, cwd=None, onerr=None, errprefix=None):
   840     def system(self, cmd, environ={}, cwd=None, onerr=None, errprefix=None):
   841         '''execute shell command with appropriate output stream. command
   841         '''execute shell command with appropriate output stream. command
   842         output will be redirected if fout is not stdout.
   842         output will be redirected if fout is not stdout.
   843         '''
   843         '''
   844         out = self.fout
   844         out = self.fout
   845         if util.any(s[1] for s in self._bufferstates):
   845         if any(s[1] for s in self._bufferstates):
   846             out = self
   846             out = self
   847         return util.system(cmd, environ=environ, cwd=cwd, onerr=onerr,
   847         return util.system(cmd, environ=environ, cwd=cwd, onerr=onerr,
   848                            errprefix=errprefix, out=out)
   848                            errprefix=errprefix, out=out)
   849 
   849 
   850     def traceback(self, exc=None, force=False):
   850     def traceback(self, exc=None, force=False):