[RFC] should ((checkout and bind) or reconfigure) be able to update other locations too?

Tro troworld at gmail.com
Tue Feb 10 16:07:18 GMT 2009


On Thu, Jan 22, 2009 at 1:21 PM, Brian de Alwis <bsd at cs.ubc.ca> wrote:
> On 22-Jan-2009, at 9:10 AM, Marius Kruger wrote:
>
> 2009/1/22 Aaron Bentley <aaron at aaronbentley.com>
>>
>> To start using a local mirror of trunk:
>> 1. bzr checkout http://example.org/trunk
>> 2. echo 'public_branch=http://example.org/trunk' >>
>> trunk/.bzr/branch/branch.conf
>> 3. bzr merge -d ../existing-branch . --remember
>
> [...]
>
> An option is to give `bzr reconfigure` the ability to do this:
> bzr reconfigure --set-push-location --set-pull-location http://...
> bzr reconfigure --set-public-branch http://...
> Does anybody have objections to this?
> If so do you have a better idea of how we could support this?
>
> I strongly agree with Marius' suggestion to have some way to manipulate the
> various *.conf files from the command line.  The contents of .bzr/ should be
> opaque to almost all but the most hardened of users, IMHO.

Agreed. Something like git's "config" command would be an improvement.

Tro



More information about the bazaar mailing list