[MERGE (trunk, 1.1)] fuller deprecation of Graph.get_parents
aaron at aaronbentley.com
Fri Jan 11 01:20:40 GMT 2008
-----BEGIN PGP SIGNED MESSAGE-----
Robert Collins wrote:
> 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
You could make this emit a deprecation warning if you like.
> 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.
I agree, and had already suggested this.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the bazaar