[MERGE] Config.get_user_section() API
Robert Collins
robertc at robertcollins.net
Tue Feb 5 06:06:30 GMT 2008
On Tue, 2008-02-05 at 06:57 +0100, Lukáš Lalinský wrote:
>
> Well, if they don't want to touch internal bzrlib functions, they need
> to. The only way to access non-standard sections in standard bzr
> config
> file is to either use private _get_parser() or instanciate ConfigObj
> on
> it's own. Of course most plugins just use _get_parser(), but having an
> public API for accessing it would be a much better solution.
Adding a new section requires currently private API's - thats true.
user [plugin] specified keys does not require private API's - see my
posted example plugins in the other thread for instance.
-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/20080205/68940a91/attachment.pgp
More information about the bazaar
mailing list