Mercurial > public > mercurial-scm > hg-stable
diff mercurial/sshrepo.py @ 7106:4674706b5b95
python2.6: use subprocess if available
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Sun, 05 Oct 2008 21:35:26 +0200 |
parents | 63b5f4c73c98 |
children | fe0a4ed4634f |
line wrap: on
line diff
--- a/mercurial/sshrepo.py Fri Oct 17 17:34:25 2008 +0200 +++ b/mercurial/sshrepo.py Sun Oct 05 21:35:26 2008 +0200 @@ -61,7 +61,7 @@ cmd = util.quotecommand(cmd) ui.note(_('running %s\n') % cmd) - self.pipeo, self.pipei, self.pipee = os.popen3(cmd, 'b') + self.pipeo, self.pipei, self.pipee = util.popen3(cmd, 'b') # skip any noise generated by remote shell self.do_cmd("hello")