Rev 33: A couple tweaks to repofmt to allow fetching to work again. in http://bazaar.launchpad.net/%7Ebzr/bzr-groupcompress/trunk

John Arbash Meinel john at arbash-meinel.com
Wed Mar 4 22:38:36 GMT 2009


At http://bazaar.launchpad.net/%7Ebzr/bzr-groupcompress/trunk

------------------------------------------------------------
revno: 33
revision-id: john at arbash-meinel.com-20090304223810-agw3duzy5tul01da
parent: john at arbash-meinel.com-20090304161119-wjb6l5idp2k9niwq
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: trunk
timestamp: Wed 2009-03-04 16:38:10 -0600
message:
  A couple tweaks to repofmt to allow fetching to work again.
-------------- next part --------------
=== modified file 'repofmt.py'
--- a/repofmt.py	2009-03-04 16:01:55 +0000
+++ b/repofmt.py	2009-03-04 22:38:10 +0000
@@ -627,7 +627,10 @@
         """A hashed CHK+group compress pack repository."""
 
         repository_class = GCCHKPackRepository
-        rich_root_data = True
+        # Setting this to True causes us to use InterModel1And2, so for now set
+        # it to False which uses InterDifferingSerializer. When IM1&2 is
+        # removed (as it is in bzr.dev) we can set this back to True.
+        rich_root_data = False
 
         def get_format_string(self):
             """See RepositoryFormat.get_format_string()."""
@@ -641,7 +644,7 @@
 
 def pack_incompatible(source, target, orig_method=InterPackRepo.is_compatible):
     """Be incompatible with the regular fetch code."""
-    formats = (RepositoryFormatPackGC,)
+    formats = (RepositoryFormatPackGCPlain,)
     if chk_support:
         formats = formats + (RepositoryFormatPackGCCHK16,
                              RepositoryFormatPackGCCHK255)



More information about the bazaar-commits mailing list