[MERGE] Multiple element keys.
Robert Collins
robertc at robertcollins.net
Fri Jul 27 15:17:20 BST 2007
On Fri, 2007-07-27 at 22:50 +1000, Robert Collins wrote:
> 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.
I missed one concrete class. Doh. Attached an updated patch.
-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: 93432 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070728/26568c14/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/20070728/26568c14/attachment-0001.pgp
More information about the bazaar
mailing list