changeset 5306:7256cc396bbf

convert: workaround for cvsps.cache under Windows In non-cygwin environment, cvsps fails to create its cache directory and redirect its output to stderr. Just ignore the error and capture stderr as well.
author Patrick Mezard <pmezard@gmail.com>
date Fri, 14 Sep 2007 22:17:53 +0200
parents 87348cdce88c
children 5b0b0834419c
files hgext/convert/cvs.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/convert/cvs.py
+++ b/hgext/convert/cvs.py
@@ -34,7 +34,7 @@ class convert_cvs(converter_source):
             os.chdir(self.path)
             id = None
             state = 0
-            for l in os.popen("cvsps -A -u --cvs-direct -q"):
+            for l in os.popen("cvsps -A -u --cvs-direct -q 2>&1"):
                 if state == 0: # header
                     if l.startswith("PatchSet"):
                         id = l[9:-2]