[RFC] branch --bind

Martin Pool mbp at canonical.com
Tue Jan 5 03:58:20 GMT 2010


2010/1/5 Juanma Barranquero <lekktu at gmail.com>:
> On Tue, Jan 5, 2010 at 04:20, Martin Pool <mbp at canonical.com> wrote:
>
>> 2- so that you can commit locally, intentionally diverging the bound
>> branch from its master.  This adds a new mode for disconnected
>> operation and I question whether it is worth having the complexity
>> when people could just use a new branch.
>
> Are bound branches needed to imitate colocated branches by
>
>  bzr checkout master work
>  bzr branch --no-tree master branch1
>  bzr branch --no-tree master branch2   ; etc.
>  cd work
>  bzr switch branch1
>  # do work
>  bzr commit -m "..."
>  bzr switch branch2
>  # do work
>  # etc
>
> or would it work with lightweight checkouts?

That would work with lightweight checkouts, and I think would be
better that way.

-- 
Martin <http://launchpad.net/~mbp/>



More information about the bazaar mailing list