Command to set settings for bazaar branches?
Martin Pool
mbp at sourcefrog.net
Mon Mar 2 04:14:16 GMT 2009
2009/2/26 Vincent Ladeuil <v.ladeuil+lp at free.fr>:
>>>>>> "Marius" == Marius Kruger <amanic at gmail.com> writes:
>
> Marius> 2009/2/24 Nicholas Allen <nick.allen at onlinehome.de>:
> >> 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
>
> Marius> I always thought `bzr reconfigure` would be used for this e.g.
> Marius> bzr reconfigure --public_branch http://example.com/branch
>
> +1
I think 'reconfigure' is a bit conceptually different from changing
settings. It can do potentially large and long rearrangements of your
data. Whereas most other things are just settings equivalent to
putting something into a configuration file, and they don't have any
effect until something else looks up and uses that value. I'm not
100% sure it should therefore be a different command but it does seem
like it.
--
Martin <http://launchpad.net/~mbp/>
More information about the bazaar
mailing list