GTK+ annotate plugin
Robert Collins
robertc at robertcollins.net
Sun Oct 30 03:19:12 GMT 2005
On Sat, 2005-10-29 at 17:57 -0500, John A Meinel wrote:
> This seems like a reasonable place to put it.
> To be cross platform capable, you should use:
>
> base = bzrlib.config.config_dir()
>
> That way on win32 it will be put in $APPDATA/bazaar/2.0/gannotate.conf
>
> Also, I thought I saw a commit at some point in time that talked about
> an interface for plugins to store data. But I don't remember it now.
> Maybe Robert or Martin would have something better to say.
If this is location independant:
from bzrlib.config import GlobalConfig
config = GlobalConfig
setting = GlobalConfig.get_user_option('option')
In my branch is a set_user_option for LocationConfigs, but
(deliberately, for now at least), not a set_user_option for
GlobalConfigs.
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/20051029/b76719e1/attachment.pgp
More information about the bazaar
mailing list