hgext/convert/cvs.py
changeset 5498 4d38e6970b8c
parent 5497 f0a3918abd42
parent 5481 003d1f174fe1
child 5528 6ffca2bf23da
--- a/hgext/convert/cvs.py	Tue Oct 30 22:14:15 2007 +0100
+++ b/hgext/convert/cvs.py	Thu Nov 01 12:37:17 2007 +0100
@@ -46,14 +46,13 @@
                     cmd = '%s -d "1970/01/01 00:00:01" -d "%s"' % (cmd, self.rev)
                 except util.Abort:
                     raise util.Abort('revision %s is not a patchset number or date' % self.rev)
-        cmd += " 2>&1"
 
         d = os.getcwd()
         try:
             os.chdir(self.path)
             id = None
             state = 0
-            for l in os.popen(cmd):
+            for l in util.popen(cmd):
                 if state == 0: # header
                     if l.startswith("PatchSet"):
                         id = l[9:-2]