Want a variable to override location of ~/.bazaar etc
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Low
|
Unassigned |
Bug Description
A way needs to be added to change the location of the bazaar configuration files. As of now the only control available is to set $BZR_HOME. Bazaar does not offer any control of where files go within this directory.
By default bazaar locates its file in:
POSIX:
$HOME/.bazaar/
WINDOWS:
%APPDATA%
That is a very reasonable place to put things. If I want to change that directory I can use $BZR_HOME:
POSIX:
$BZR_
WINDOWS:
%BZR_
I would like a way to change where under $BSR_HOME the configuration files are being saved. This is particularly true for me on windows where "\bazaar\2.0\" does not make sense outside of the "%APPDATA%" directory.
There are two ways that I can see to simply add this ability:
1. Make $BZR_HOME into the actual configuration directory.
That would mean for all systems if $BZR_HOME is found the conf
files would be stored under:
$BZR_HOME/
The problem with doing this is that it breaks existing installations.
(though this could be mitigated somewhat by checking for the
existence of the old structure on install.)
2. Add a new environmental variable.
Something like $BZR_CONF_PATH. This environmental variable
would override $BZR_HOME.
description: | updated |
tags: |
added: config removed: configuration |
tags: | added: check-for-breezy |
tags: | removed: check-for-breezy |
That sounds reasonable. I'd probably go for #2. Want to try a patch? It's probably not very hard.