[MERGE][1.0][#147836] Implement a trivial RemoteRepository._make_parents_provider method.
John Arbash Meinel
john at arbash-meinel.com
Fri Dec 7 20:22:34 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Andrew Bennetts wrote:
> This patch is trivial, but it fixes bug 147836, which prevents “bzr send”
> against a branch that is hosted on a smart server.
>
> Seeing as _make_parents_provider seems to be a required part of the Repository
> interface, this patch also adds a simple test to make sure all Repository
> implemenatations provide it.
>
> -Andrew.
>
>
BB:approve
But as an aside, _make_parents_provider seems like a good place to have a
smarter RemoteRepositoryParentsProvider.... which does appropriate
caching/fetching lots of parents.
But maybe that is even better done by the get_graph() layer.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHWauKJdeBCYSNAAMRAnG5AJ97tBfMjhw4DPQ0gJ3dEi/rfW2JhwCgpFWU
ZTAfTWexFjEz/OXdpROn3eo=
=WWFW
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list