At http://people.ubuntu.com/~robertc/baz2.0/repository

------------------------------------------------------------
revno: 3801
revision-id: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Robert Collins <[EMAIL PROTECTED]>
branch nick: repository
timestamp: Wed 2008-12-10 16:28:56 +1100
message:
  Define index_builder_class in NewPack before it is used.
=== modified file 'bzrlib/repofmt/pack_repo.py'
--- a/bzrlib/repofmt/pack_repo.py       2008-12-07 16:46:56 +0000
+++ b/bzrlib/repofmt/pack_repo.py       2008-12-10 05:28:56 +0000
@@ -236,11 +236,11 @@
         """
         # The relative locations of the packs are constrained, but all are
         # passed in because the caller has them, so as to avoid object churn.
+        index_builder_class = pack_collection._index_builder_class
         if pack_collection.chk_index is not None:
             chk_index = index_builder_class(reference_lists=0)
         else:
             chk_index = None
-        index_builder_class = pack_collection._index_builder_class
         Pack.__init__(self,
             # Revisions: parents list, no text compression.
             index_builder_class(reference_lists=1),


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

Reply via email to