[Pkg-ocaml-maint-commits] r5861 - /trunk/tools/svn2git/glondu_svn2git.py

zack at users.alioth.debian.org zack at users.alioth.debian.org
Sat Jul 19 19:51:25 UTC 2008


Author: zack
Date: Sat Jul 19 19:51:24 2008
New Revision: 5861

URL: http://svn.debian.org/wsvn/?sc=1&rev=5861
Log:
invoke git-gc at the end to collect some garbage

Modified:
    trunk/tools/svn2git/glondu_svn2git.py

Modified: trunk/tools/svn2git/glondu_svn2git.py
URL: http://svn.debian.org/wsvn/trunk/tools/svn2git/glondu_svn2git.py?rev=5861&op=diff
==============================================================================
--- trunk/tools/svn2git/glondu_svn2git.py (original)
+++ trunk/tools/svn2git/glondu_svn2git.py Sat Jul 19 19:51:24 2008
@@ -267,6 +267,9 @@
             print "Unexpected content in svn repos:"
             print o
 
+    def gc(self):
+        run_command("git", "cd git && git gc")
+
 
 class GitTag(GitCommit):
 
@@ -359,6 +362,7 @@
                 x.checkout()
                 x.check_clean()
                 x.commit()
+        x.gc()
 
 
 if __name__ == "__main__":




More information about the Pkg-ocaml-maint-commits mailing list