Rev 3799: more comment in http://bzr.arbash-meinel.com/branches/bzr/brisbane/chk_map

John Arbash Meinel john at arbash-meinel.com
Tue Dec 2 20:44:02 GMT 2008


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

------------------------------------------------------------
revno: 3799
revision-id: john at arbash-meinel.com-20081202204350-i7r9uithhqv1aieq
parent: john at arbash-meinel.com-20081202204314-uwfpn7zplj4muwm7
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: chk_map
timestamp: Tue 2008-12-02 14:43:50 -0600
message:
  more comment
-------------- next part --------------
=== modified file 'bzrlib/chk_map.py'
--- a/bzrlib/chk_map.py	2008-12-02 20:43:14 +0000
+++ b/bzrlib/chk_map.py	2008-12-02 20:43:50 +0000
@@ -514,6 +514,9 @@
                 #       at by the 'prefix\0' key. We might want to consider
                 #       folding it into the containing InternalNode rather than
                 #       having a fixed length-1 node.
+                #       Note this is probably not true for hash keys, as they
+                #       may get a '\00' node anywhere, but won't have keys of
+                #       different lengths.
                 if len(prefix) < split_at:
                     prefix += '\x00'*(split_at - len(prefix))
                 if prefix not in result:



More information about the bazaar-commits mailing list