Rev 3805: Another code switch-around. in http://bzr.arbash-meinel.com/branches/bzr/brisbane/merge_dev

John Arbash Meinel john at arbash-meinel.com
Sun Dec 7 18:03:45 GMT 2008


At http://bzr.arbash-meinel.com/branches/bzr/brisbane/merge_dev

------------------------------------------------------------
revno: 3805
revision-id: john at arbash-meinel.com-20081207180333-2rxgc79x1px1bwq5
parent: john at arbash-meinel.com-20081207175444-j4gllyvbu3bkzpsg
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: merge_dev
timestamp: Sun 2008-12-07 12:03:33 -0600
message:
  Another code switch-around.
-------------- next part --------------
=== modified file 'bzrlib/repofmt/pack_repo.py'
--- a/bzrlib/repofmt/pack_repo.py	2008-12-07 17:54:44 +0000
+++ b/bzrlib/repofmt/pack_repo.py	2008-12-07 18:03:33 +0000
@@ -860,9 +860,9 @@
     def _copy_chks(self, refs=None):
         # XXX: Todo, recursive follow-pointers facility when fetching some
         # revisions only.
-        chk_index_map = self._pack_collection._packs_list_to_pack_map_and_index_list(
-            self.packs, 'chk_index')[0]
-        chk_nodes = self._pack_collection._index_contents(chk_index_map, refs)
+        chk_index_map, chk_indices = self._pack_map_and_index_list(
+            'text_index')
+        chk_nodes = self._index_contents(chk_indices, refs)
         new_refs = set()
         def accumlate_refs(lines):
             # XXX: move to a generic location



More information about the bazaar-commits mailing list