[Bulk] Re: [rfc] bzr-colo into core

Gordon Tyler gordon at doxxx.net
Wed Mar 23 13:29:20 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 3/23/2011 8:53 AM, Jelmer Vernooij wrote:
> On Wed, 2011-03-23 at 08:44 -0400, Gordon Tyler wrote:
>> On 3/22/2011 10:18 PM, Martin Pool wrote:
>>>  * I feel the user model is in an unhappy valley where users do need
>>> to know about the repository, branch, wt components, but the ui and
>>> documentation don't really expose them as such; instead we tend to
>>> talk about the stylized arrangements such as lightweight checkouts and
>>> standalone branches.
>>>
>>>  * The thing that is closest to being a default, standalone branches,
>>> is not something we would normally recommend at all.
>>
>> So how about this: `bzr branch URL [DIR]` will create a colo repo if
>> there is no shared repo in a parent dir. If URL contains a colo repo,
>> all branches would be cloned. A `--standalone` option can be added to
>> make it work like it currently does.
>>
>> The problem with the bzr-colo implementation is that the URL to a
>> particular branch is a little messy if you want to fetch only one
>> branch. The only way I can see that getting resolved is by adding some
>> kind of indicator to the URL for which branch to fetch. Whether that
>> gets resolved to the .bzr/branches/BRANCH or if branches are
>> incorporated into repo metadata, I don't know.
> I think it would be confusing for "bzr branch" to create more than one
> branch. Perhaps this is a good opportunity to remove the "clone" alias
> from "bzr branch" and turn it into its own command? "bzr clone" could
> create a full clone of the remote control dir, including all of the
> branches present.

Good point. That would change `bzr branch` to be solely for creating
branching in an existing local repo? `bzr clone` would be the command
for fetching remote repos or standalone branches.

Ciao,
Gordon

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNifWwAAoJEIrPJfWinA2uw+cH/jIN/BITY7E1Q9zixYAyKCw8
rGF7JlVf1492isLt6TLOsQvt6yupe+gGhaUxxadnPfoxmwnrf3612bpemMnPKn/r
x4TNztrwjADEi78lDWFPcNazkGX4J9KwwA7hJ7NH0+M+LOitW9IQ3+nQ9ZO2uUab
UnfUM64hZ0IPbDLjhifG1ntOEaFv26Cj11CMpj4pe0OvvWcL4QV6vjEvOeIsT/CE
/rzUnYBGst8fTxvxVA8VFieqsgB/mh+3hezZbg/9+qF/bcMIkGHTnDbg+fjdCQAq
/8BDpRDwttOcHkb8URwsphrCRsZc/jmCdvO0TvsRnfarvzVsva3SMVIidLJ6vIU=
=P+7y
-----END PGP SIGNATURE-----



More information about the bazaar mailing list