[MERGE] Added PluginBranchConfig object, which allows a generalized mechanism for setting config options which travel along with the branch.

James Westby jw+debian at jameswestby.net
Mon Feb 4 18:23:18 GMT 2008


On Mon, 2008-02-04 at 04:22 +0100, Monty Taylor wrote:
> Hey all,
> 
> Here's a patch to add a new Config object. I'm using in this in a couple
> of different plugins I'm using internally. It's based in large part on
> code from bzr-builddeb, and hopefully just allows that to happen in a
> general manner.
> 
> I'd love feedback on this... and also any tips on how we might want to
> write unit tests...

Hi, 

The original code in bzr-builddeb has some basic tests that you
could perhaps adapt to you needs.

There are some doctests in the module itself, and some unittests
in tests/test_config.py.

Thanks,

James





More information about the bazaar mailing list