Rev 3806: If you are going to do it, use the right index. in http://bzr.arbash-meinel.com/branches/bzr/brisbane/merge_dev

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


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

------------------------------------------------------------
revno: 3806
revision-id: john at arbash-meinel.com-20081207182513-00r47hr8fevohotb
parent: john at arbash-meinel.com-20081207180333-2rxgc79x1px1bwq5
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: merge_dev
timestamp: Sun 2008-12-07 12:25:13 -0600
message:
  If you are going to do it, use the right index.
  
  Fortunately, the text_index has ref lists while the chk_index does not.
  So it failed early on.
-------------- next part --------------
=== modified file 'bzrlib/repofmt/pack_repo.py'
--- a/bzrlib/repofmt/pack_repo.py	2008-12-07 18:03:33 +0000
+++ b/bzrlib/repofmt/pack_repo.py	2008-12-07 18:25:13 +0000
@@ -861,7 +861,7 @@
         # XXX: Todo, recursive follow-pointers facility when fetching some
         # revisions only.
         chk_index_map, chk_indices = self._pack_map_and_index_list(
-            'text_index')
+            'chk_index')
         chk_nodes = self._index_contents(chk_indices, refs)
         new_refs = set()
         def accumlate_refs(lines):



More information about the bazaar-commits mailing list