creating checkouts, bound branches and standalone branches from an existing branch

Erik Bågfors zindar at gmail.com
Sun Feb 12 10:28:51 GMT 2006


2006/2/11, Robert Collins <robertc at robertcollins.net>:
> So we have a UI problem here..
>
> I can get some code in front of me to hack and commit on in three way:
>  * Create a checkout
>  * Create a bound branch
>  * create a standalone branch
>
> The first one is under the hood a 'create a branch reference to URL' +
> working tree operation. And I think at the UI clearly has to be 'bzr
> checkout URL [PATH]'.
>
> The third one is (under the hood) a 'bzrdir(URL).sprout(PATH)'
> operation, and is (again clearly) 'bzr branch URL PATH'
>
> But what about the bound branch case? Should that be 'get' ? or 'bzr
> branch --bind' ?

Apart from the UI question, but should you be able to create a
checkout or a bound branch from/to a stand alone branch.  I assume
this will make the standalone branch's working tree out of sync from
what's in .bzr, when someone checks in from the checkout/bound branch?

/Erik




More information about the bazaar mailing list