[MERGE] Harmonize branch.conf with locations.conf and bazaar.conf
aaron.bentley at utoronto.ca
Tue Jun 20 19:51:26 BST 2006
-----BEGIN PGP SIGNED MESSAGE-----
This patch brings branch.conf into the same family as locations.conf and
bazaar.conf. It can provide any option that locations.conf or
bazaar.conf can provide, except for security-sensitive ones.
Similarly, locations.conf can now provide a branch nick.
The order of precedence is
locations.conf has the highest priority, because it is local data, so it
can be used to override inappropriate branch.conf options.
Unfortunately, branch.conf may be more specific than locations.conf. I
think an ideal precedence might be
1. locations.conf exact match
3. locations.conf recusive match
4. locations.conf recursive match #2
5. locations.conf recursive match #3
But I won'be be implementing that today.
I've moved the fall-through behaviour from LocationConfig into BranchConfig.
By default, options are set in branch.conf, so that they are visible to
all users of the branch, but it is easy to set them in locations.conf if
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the bazaar