[MERGE/RFC] ParentsProviders now provide tuples of parents, never lists
Aaron Bentley
aaron at aaronbentley.com
Wed Jan 2 05:36:36 GMT 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
Currently, some of our parents providers provide lists of parents, while
other provide tuples of parents. This patch makes them use tuples
uniformly, which makes testing simpler.
I chose tuples because
- - the APIs used with packs tend to use tuples here
- - tuples can be used as dictionary keys
- - it is rare to mutate a list of parents
But if anyone has a strong preference for lists, please speak up.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHeyLk0F+nu1YWqI0RArcyAJ94uFSNm8+HcJ5zBzbbvJHETlZJgACfUFuU
JqS2lrZ3OVV/VHI7T2xbpmE=
=iODq
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bzr-mail-EDtnFl.patch
Type: text/x-diff
Size: 9316 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080102/1e017f79/attachment.bin
More information about the bazaar
mailing list