Index: /trunk/scripts/git-migration/git-migrate
===================================================================
--- /trunk/scripts/git-migration/git-migrate	(revision 1895)
+++ /trunk/scripts/git-migration/git-migrate	(revision 1896)
@@ -1,4 +1,5 @@
 #!/usr/bin/python
 
+import glob
 import os
 import sys
@@ -144,4 +145,12 @@
         shutil.rmtree('%s.git' % merge[0])
 
+def cleanupRepos():
+    for pkg in glob.glob('*.git'):
+        subprocess.check_call(['git', 'tag', '-d', 'base'],
+                              cwd='%s' % pkg)
+        
+        subprocess.check_call(['git', 'gc'],
+                              cwd='%s' % pkg)
+
 if __name__ == '__main__':
     try:
@@ -152,2 +161,3 @@
     cloneAllPackages(base)
     mergeHistories()
+    cleanupRepos()
