[BUG] sections in TreeConfig not read properly
James Westby
jw+debian at jameswestby.net
Mon Jun 18 21:41:44 BST 2007
On (18/06/07 10:32), Aaron Bentley wrote:
> Create a branch using "branch = self.make_branch()".
>
> Manually create a TreeConfig via "config = TreeConfig(branch)".
>
> Set an option with a section via "config.set_option("value", "name",
> "SECTION)".
>
> Retrieve the value using config.get_option("name", "SECTION")
Thanks Aaron.
The attached bundle fixes the issue, and adds a test in the manner
described. It also extends the test to check various other aspects of
the object, for instance default values, missing keys and sections, and
shadowing of keys in sections.
Thanks,
James
--
James Westby -- GPG Key ID: B577FE13 -- http://jameswestby.net/
seccure key - (3+)k7|M*edCX/.A:n*N!>|&7U.L#9E)Tu)T0>AM - secp256r1/nistp256
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.diff
Type: text/x-diff
Size: 3169 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070618/82354c16/attachment.bin
More information about the bazaar
mailing list