[MERGE] Split TransportConfig out of TreeConfig
Aaron Bentley
aaron at aaronbentley.com
Fri Apr 4 19:16:20 BST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
While the notion of stacking locally by default has proved
controversial, the idea of allowing remote hosts to suggest stacking
policy has not been.
So here is the first patch on the road to implementing support for that.
It splits the low-level responsibilities of TreeConfig out into a new
TransportConfig class. TransportConfig simply maintains persistent
storage of name/value pairs.
The ultimate purpose of this is to use TransportConfig as the basis for
a new BzrDirConfig associated with BzrDirs. The initial implementation
of BzrDirConfig simply supports set_default_stack_on and
get_default_stack_on.
A possible future responsibility would be the make_working_tree setting
that is currently associated with repositories. Repositories are meant
to be a storage optimization only, and having them control whether
working trees are created violates that concept somewhat.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFH9nB00F+nu1YWqI0RAvWfAJ9mAg4PR4TMzo2Un8VsWsWtmK2eUACfT6zo
c70RWB1GlK/bWQVGEBwd4iE=
=U7Xi
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bzrdir-config-3246.patch
Type: text/x-diff
Size: 12538 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080404/a069efa8/attachment-0001.bin
More information about the bazaar
mailing list