# HG changeset patch # User Patrick Mezard # Date 1189801073 -7200 # Node ID 7256cc396bbf9fa0ffe87bc88e140401f3027a99 # Parent 87348cdce88c0aad199fb585d0d12e76c33a3b6e 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. diff -r 87348cdce88c -r 7256cc396bbf hgext/convert/cvs.py --- a/hgext/convert/cvs.py Fri Sep 14 22:17:53 2007 +0200 +++ b/hgext/convert/cvs.py Fri Sep 14 22:17:53 2007 +0200 @@ -34,7 +34,7 @@ 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]