diff hgext/convert/cvs.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 e786192d995d
children 4fecd17f2de9
line wrap: on
line diff
--- a/hgext/convert/cvs.py	Fri Oct 17 17:34:25 2008 +0200
+++ b/hgext/convert/cvs.py	Sun Oct 05 21:35:26 2008 +0200
@@ -252,7 +252,7 @@
             # popen2 does not support argument lists under Windows
             cmd = [util.shellquote(arg) for arg in cmd]
             cmd = util.quotecommand(' '.join(cmd))
-            self.writep, self.readp = os.popen2(cmd, 'b')
+            self.writep, self.readp = util.popen2(cmd, 'b')
 
         self.realroot = root