Command to set settings for bazaar branches?
John Arbash Meinel
john at arbash-meinel.com
Tue Feb 24 15:09:42 GMT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Nicholas Allen wrote:
> Hi,
>
> I think it's a bit low level that the user has to edit configuration
> files by hand (eg bazaar.conf or locations.conf). Any setting in there
> should be able to be changed using Bazaar commands I think. This is
> already possible with whoami command but not for others (like public
> branch location etc).
>
> This could be done by one command (eg config):
>
> bzr config public_branch http://example.com/branch
>
> This would set public_branch location. bzr config on it's own would list
> all settings for the current branch.
>
> Trying to set a variable that was unknown would give a warning (or maybe
> even an error). bzr config help would give the user help about each
> configuration option.
>
> Any thoughts?
>
> Cheers,
>
> Nick
Something like that seems reasonable. (We have 'bzr alias' because I
think Tim Penhey didn't like to edit ~/.bazaar/bazaar.conf to set aliases.)
The concern is that we really don't want to end up writing a text
editor, but probably a simple single-setting-at-a-time would be reasonable.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkmkDbYACgkQJdeBCYSNAAMDiACeIcA1vkIATDZWU2gSS3adCsMi
IDkAn0yQfbtGFxEPTzoxEbAfqn+mFkgd
=D6fw
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list