At http://bzr.arbash-meinel.com/branches/bzr/1.9-dev/btree_optimize

------------------------------------------------------------
revno: 3782
revision-id: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: John Arbash Meinel <[EMAIL PROTECTED]>
branch nick: btree_optimize
timestamp: Wed 2008-10-22 14:24:46 -0500
message:
  Up-call to the parent as suggested by Andrew.
=== modified file 'bzrlib/repofmt/pack_repo.py'
--- a/bzrlib/repofmt/pack_repo.py       2008-10-16 18:58:22 +0000
+++ b/bzrlib/repofmt/pack_repo.py       2008-10-22 19:24:46 +0000
@@ -973,13 +973,8 @@
 
     def open_pack(self):
         """Open a pack for the pack we are creating."""
-        new_pack = NewPack(self._pack_collection._upload_transport,
-            self._pack_collection._index_transport,
-            self._pack_collection._pack_transport, upload_suffix=self.suffix,
-            file_mode=self._pack_collection.repo.bzrdir._get_file_mode(),
-            index_builder_class=self._pack_collection._index_builder_class,
-            index_class=self._pack_collection._index_class)
-
+        new_pack = super(OptimisingPacker, self).open_pack()
+        # Turn on the optimization flags for all the index builders.
         new_pack.revision_index.set_optimize(for_size=True)
         new_pack.inventory_index.set_optimize(for_size=True)
         new_pack.text_index.set_optimize(for_size=True)

-- 
bazaar-commits mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/bazaar-commits

Reply via email to