Rev 7: Update for current index2 changes. in http://people.ubuntu.com/~robertc/baz2.0/plugins/groupcompress/trunk
Robert Collins
robertc at robertcollins.net
Tue Jul 15 10:25:10 BST 2008
At http://people.ubuntu.com/~robertc/baz2.0/plugins/groupcompress/trunk
------------------------------------------------------------
revno: 7
revision-id: robertc at robertcollins.net-20080715092509-ihjuvbfsgo74q82e
parent: robertc at robertcollins.net-20080708072446-zncm2ymr5sj64zcu
committer: Robert Collins <robertc at robertcollins.net>
branch nick: trunk
timestamp: Tue 2008-07-15 19:25:09 +1000
message:
Update for current index2 changes.
modified:
groupcompress.py groupcompress.py-20080705181503-ccbxd6xuy1bdnrpu-8
=== modified file 'groupcompress.py'
--- a/groupcompress.py 2008-07-08 07:24:46 +0000
+++ b/groupcompress.py 2008-07-15 09:25:09 +0000
@@ -38,7 +38,7 @@
sha_strings,
split_lines,
)
-from bzrlib.plugins.index2.repofmt import InMemoryBTree
+from bzrlib.plugins.index2.btree_index import BTreeBuilder
from bzrlib.versionedfile import (
adapter_registry,
AbsentContentFactory,
@@ -227,7 +227,7 @@
ref_length = 0
if graph:
ref_length += 1
- graph_index = InMemoryBTree(reference_lists=ref_length,
+ graph_index = BTreeBuilder(reference_lists=ref_length,
key_elements=keylength)
stream = transport.open_write_stream('newpack')
writer = pack.ContainerWriter(stream.write)
More information about the bazaar-commits
mailing list