[PATCH] TreeConfig should support sections
Aaron Bentley
aaron.bentley at utoronto.ca
Thu Jul 27 15:16:59 BST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Robert Collins wrote:
> Sections are used in the locations config file - each url is a section.
>
> But we dont have sub-sections. So a setting in branch.conf in a named
> section cannot be represented in locations.conf.
bzrlib.util.configobj.ConfigObj can represent sub-sections. This
limitation is purely due to bzrlib.config.ConfigObj.
> I'm really -1 on this until we decide how the things should interact. It
> seems like we're shooting our foot off otherwise.
I think it's terribly limiting to require all settings to be in one
section. Anyhow, a bug is a bug. If we're not going to support that
parameter, we should make it throw when it's supplied.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFEyMrb0F+nu1YWqI0RAgy4AKCG5+OmBrDWswe5XCar5GOoojgEAQCgg5HP
i6cpUKFzrXhNMtamsdVPpsU=
=V+mE
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list