[MERGE (trunk, 1.1)] fuller deprecation of Graph.get_parents
Robert Collins
robertc at robertcollins.net
Fri Jan 11 00:54:13 GMT 2008
This is a fuller deprecation of Graph.get_parents.
Specifically the following two things work which did not in 1.1:
- Graph.get_parents will work with a provider that implements
get_parent_map only.
- Graph.get_parent_map will work with a provider that implements
get_parents_only.
I deleted the implementations of get_parents on the stock providers as
they seem unneeded to me- the API for callers is Graph itself, not the
Provider objects - Provider is an implementors interface.
-Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bzr-mail-sPL_jM.patch
Type: text/x-patch
Size: 13492 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080111/6cdf7428/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/20080111/6cdf7428/attachment-0001.pgp
More information about the bazaar
mailing list