Command to set settings for bazaar branches?

Karl Fogel karl.fogel at canonical.com
Tue Feb 24 21:31:39 GMT 2009


Nicholas Allen <nick.allen at onlinehome.de> writes:
> 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?

Well... for this specific example, I've always wondered why "bzr bind"
doesn't just set public_branch automatically.  Should it?

-Karl



More information about the bazaar mailing list