[merge] avoid RemoteLockableFiles special handling of branch.conf (and query: purpose of Branch.get_config_file rpc)
Robert Collins
robertc at robertcollins.net
Wed May 7 00:41:23 BST 2008
On Tue, 2008-05-06 at 22:37 +1000, Martin Pool wrote:
> In the future if we want to disable vfs methods we would need a way to
> get a branch's configuration. I think that should be explicitly
> handled at the Branch level: either giving it a
> get_branch_conf_bytes() method (which locally just reads the file), or
> perhaps inverting control and giving it a method to give you back a
> Config object.
Uhm. I think you may have misunderstood the goal here. The point was to
allow the remote server to *control* the configuration. The remote
method called is a Branch verb; it can't return an object over the wire,
so it is returning something which the rest of the code will correctly
interpret.
e.g. this is meant to be explictly at the Branch level.
-Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- 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/20080507/45d7b5d5/attachment.pgp
More information about the bazaar
mailing list