Rev 4771: A couple more locations that should use StaticTuple in http://bazaar.launchpad.net/~jameinel/bzr/2.1-static-tuple-btree-string-intern
John Arbash Meinel
john at arbash-meinel.com
Mon Oct 12 22:10:38 BST 2009
At http://bazaar.launchpad.net/~jameinel/bzr/2.1-static-tuple-btree-string-intern
------------------------------------------------------------
revno: 4771
revision-id: john at arbash-meinel.com-20091012211032-6haj8mm2gmk0t4wk
parent: john at arbash-meinel.com-20091012201853-1ow992zmnqwpa1ki
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: 2.1-static-tuple-btree-string-intern
timestamp: Mon 2009-10-12 16:10:32 -0500
message:
A couple more locations that should use StaticTuple
but we need the 'from_sequence' form first.
-------------- next part --------------
=== modified file 'bzrlib/index.py'
--- a/bzrlib/index.py 2009-10-12 20:02:27 +0000
+++ b/bzrlib/index.py 2009-10-12 21:10:32 +0000
@@ -203,7 +203,9 @@
if reference not in self._nodes:
self._check_key(reference)
absent_references.append(reference)
+ # TODO: StaticTuple
node_refs.append(tuple(reference_list))
+ # TODO: StaticTuple
return tuple(node_refs), absent_references
def add_node(self, key, value, references=()):
More information about the bazaar-commits
mailing list