[PATCH 2 of 2] Force cvsps rebuilding the cache

Edouard Gomez ed.gomez at free.fr
Mon Feb 5 23:40:44 UTC 2007


# HG changeset patch
# User Edouard Gomez <ed.gomez at free.fr>
# Date 1170718580 -3600
# Node ID 10b0807194eb688b239b31fe1ae131c4402dcd80
# Parent  e34b962f3d8580151ca306ac74e005fb02e668b2
Force cvsps rebuilding the cache

Force cvsps regenerating the cache otherwise the conversion process
isn't that incremental.

Maybe -u might be enough instead of -x. In doubt just force the brutal
one.

diff -r e34b962f3d85 -r 10b0807194eb contrib/convert-repo
--- a/contrib/convert-repo	Tue Feb 06 00:36:19 2007 +0100
+++ b/contrib/convert-repo	Tue Feb 06 00:36:20 2007 +0100
@@ -85,7 +85,7 @@ class convert_cvs:
             os.chdir(self.path)
             id = None
             state = 0
-            for l in os.popen("cvsps -A"):
+            for l in os.popen("cvsps -A -x"):
                 if state == 0: # header
                     if l.startswith("PatchSet"):
                         id = l[9:-2]



More information about the Mercurial-devel mailing list