Rev 2902: More index tweaks. in http://people.ubuntu.com/~robertc/baz2.0/index

Robert Collins robertc at robertcollins.net
Mon Oct 8 05:51:41 BST 2007


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

------------------------------------------------------------
revno: 2902
revision-id: robertc at robertcollins.net-20071008045131-n60qsvujlkg00oyy
parent: robertc at robertcollins.net-20071008020031-7k73clatevakdpsb
committer: Robert Collins <robertc at robertcollins.net>
branch nick: index
timestamp: Mon 2007-10-08 14:51:31 +1000
message:
  More index tweaks.
modified:
  bzrlib/index.py                index.py-20070712131115-lolkarso50vjr64s-1
=== modified file 'bzrlib/index.py'
--- a/bzrlib/index.py	2007-10-08 02:00:31 +0000
+++ b/bzrlib/index.py	2007-10-08 04:51:31 +0000
@@ -870,6 +870,8 @@
                 self._parsed_byte_map[index + 1][1])
             self._parsed_key_map[index] = (self._parsed_key_map[index][0],
                 self._parsed_key_map[index + 1][1])
+            del self._parsed_byte_map[index + 1]
+            del self._parsed_key_map[index + 1]
         elif self._parsed_byte_map[index][1] == start:
             # extend the lower entry
             self._parsed_byte_map[index] = (



More information about the bazaar-commits mailing list