[MERGE] Multiple element keys.

Robert Collins robertc at robertcollins.net
Fri Jul 27 13:50:44 BST 2007


This adds the ability to do a GraphIndex with keys like (FILEID,
REVISION), which is a key element that I need to complete the
elimination of .kndx files in the experimental repository format, and
will make the first round of repository refactoring feature complete.

Its essentially two changes:
 - index keys go from bytestrings to tuples of bytestrings
 - add a iter_entries_prefix method to GraphIndex indices allowing for
the equivalent of 'iter_all_entries' for one FILEID using the above
mapping.

-Rob
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: index-keys.patch
Type: text/x-patch
Size: 85862 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070727/831e05dc/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070727/831e05dc/attachment-0001.pgp 


More information about the bazaar mailing list