[MERGE] Request merge of lp:~dobey/bzr/xdgconfigdir to trunk

Robert Collins robertc at robertcollins.net
Wed Oct 29 21:33:54 GMT 2008


On Wed, 2008-10-29 at 17:14 -0400, John Arbash Meinel wrote:
> 
> Though I'll also say having files renamed on your filesystem as part
> of 
> what is generally considered a readonly operation (config_dir()) is 
> probably not the best choice.

I agree; the current mkdir is a problem for tests; a mkdir and rename is
over the top :).


> I would probably rather support XDG_CONFIG_DIR if it is present, but
> not 
> use ~/.config/* by default.

I'd say :-
 - if ~/.bazaar exists use that
 - otherwise if XDG_CONFIG_DIR exists use that
 - otherwise make ~/.bazaar


-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/20081030/e353c386/attachment.pgp 


More information about the bazaar mailing list