[MERGE] Policy-based repository acquisition
Aaron Bentley
aaron at aaronbentley.com
Fri Apr 4 21:34:49 BST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
This patch is part of my work on supporting remote policies for stacking.
It implements policy-based repository creation, and lays the groundwork
for policy-based stacking configuration.
It basically rearranges BzrDir._find_or_create_repository drastically so
that the BzrDir can control more policy decisions than only whether to
create a repository. The rearrangement was necessary to avoid
multiplying the number of server roundtrips required to determine the
policy.
BzrDir.clone_on_transport is used by "bzr push" to create its branches,
so it was the natural first place to implement this policy.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFH9pDo0F+nu1YWqI0RAp84AJ4lFH358LgFzFeeG/pDjwsmkxhoLwCfbNsT
ZPShv5Tb7njHRaWfmzQC33Y=
=TWJA
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: repository-policy-3256.patch
Type: text/x-diff
Size: 23279 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080404/8436713d/attachment.bin
More information about the bazaar
mailing list