[PATCH 1 of 4] Force cvsps rebuilding the cache

Edouard Gomez ed.gomez at free.fr
Tue Feb 6 21:14:06 UTC 2007


# HG changeset patch
# User Edouard Gomez <ed.gomez at free.fr>
# Date 1170718580 -3600
# Node ID 01c8007ecedc200615702f81d837cea3fd0f2edc
# Parent  82eb0fafb56d5767af52ed60cd272311675b547f
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 82eb0fafb56d -r 01c8007ecedc contrib/convert-repo
--- a/contrib/convert-repo	Tue Jan 30 21:11:10 2007 -0200
+++ 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