08:16 < abentley> Better phrasing: 'what circumstances should cause us to produce a working tree in a repository branch'?

Denys Duchier duchier at ps.uni-sb.de
Wed Feb 8 21:49:23 GMT 2006


Robert Collins <robertc at robertcollins.net> writes:

> This interesting question just came up.
>
> We're still chatting on IRC, but I thought list input would be good.
>
> Current things being discussed:
>  * flag in the repository [defaults to do not create]e

-1.  I am against such a flag.

>  * command line option [orthogonal to such a flag?]
>  * different command to represent the different intent.

How about something along those lines:

bzr create [--repository] [--branch | --clone BRANCH] [--checkout] [LOCATION]

this way, there is just one "create" command, that can create different kinds of
things, possibly simultaneously and the same LOCATION.

bzr create --repository
	creates a new shared repo in the current dir

bzr create --repository --branch
	creates an empty standalone branch (but no checkout)

bzr create --clone ../FOO --checkout
	creates a clone of branch ../FOO using the inherited repo and having a
	workdir

etc...

--Denys






More information about the bazaar mailing list