changeset 4114:d5011e347476

Merge with crew
author Matt Mackall <mpm@selenic.com>
date Mon, 26 Feb 2007 12:12:29 -0600
parents 972519384853 (current diff) b53c6f7dbb1f (diff)
children bb70d5fa02ae eb0967c6e77b
files contrib/convert-repo
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/convert-repo	Fri Feb 23 14:16:50 2007 -0600
+++ b/contrib/convert-repo	Mon Feb 26 12:12:29 2007 -0600
@@ -85,7 +85,7 @@
             os.chdir(self.path)
             id = None
             state = 0
-            for l in os.popen("cvsps -A"):
+            for l in os.popen("cvsps -A -u --cvs-direct -q"):
                 if state == 0: # header
                     if l.startswith("PatchSet"):
                         id = l[9:-2]
@@ -102,8 +102,8 @@
                     elif l.startswith("Author"):
                         author = self.recode(l[8:-1])
                     elif l.startswith("Tag: "):
-                        t = l[5:-1]
-                        if t != "(none) ":
+                        t = l[5:-1].rstrip()
+                        if t != "(none)":
                             self.tags[t] = id
                     elif l.startswith("Log:"):
                         state = 1