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

James Blackwell jblack at merconline.com
Tue Feb 14 12:23:41 GMT 2006


On Sat, Feb 11, 2006 at 11:42:41PM +0100, Denys Duchier wrote:

> [in the following, I am deliberately using the command "get" rather than
> "branch" or "checkout" to avoid confusion with existing/proposed
> concepts and/or commands.]

(technically, "get" is an alias for "branch". Your point does come through
though)

> I would propose that:
> 
> 	bzr get --commit=remote       URL PATH
>         bzr get --commit=local,remote URL PATH
>         bzr get --commit=local        URL PATH

I propose the following:
------------------------
 bzr branch                   |  Defaults to branch --lightly-bound.
                              |
 bzr branch [-c|--checkout]   |  A checkout.
                              |
 bzr branch [-u|--unbound]    |  unbound branch (with or w/o repo)
                              |
 bzr branch [-b|--bound]      |  a fully bound branch. No remote access,
                              |  no commit. Probably a bit rare
                              |
 bzr branch --lightly-bound   |  a lightly bound branch that breaks binding on
                              |  commit if the remote branch is
                              |  uncommittable*

 * I can't decide whether this should be a lightly bound branch. One idea 
   that appeals to me is the idea of a branch that decides whether its
   bound or not based upon the results of the first commit. If the first
   commit succeeds, then its fully bound. If the first commit fails, then
   its unbound.


With the following aliases: 
---------------------------
 checkout & co                | alias for "branch --checkout"
 get, clone                   | alias for branch


With consideration given to:
--------------------------------
 bzr rebranch [same options as | Converts a branch from one type to
               above]          | another, provided the result is possible
                                 and sane.

-- 
My home page:   <a href="http://jblack.linuxguru.net">James Blackwell</a>
Gnupg 06357400  F-print AAE4 8C76 58DA 5902 761D  247A 8A55 DA73 0635 7400
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060214/2c095a59/attachment.pgp 


More information about the bazaar mailing list