Some feedback on colo plugin

Alexander Belchenko bialix at ukr.net
Mon Feb 8 13:39:16 GMT 2010


Neil Martinsen-Burrell пишет:
> ...As far as being able to use checkout from the
> destination directory, Bazaar's "checkout --lightweight" can be used
> with the long form of the colo: specifier to checkout a branch directly:
> 
> $ bzr colo-init test
> $ bzr checkout --lightweight colo:test:trunk new_checkout

...

> Bazaar's standard branch command works with targets specified with colo:
>  Thus
> 
> $ cd bzr-colo
> $ bzr branch lp:~bialix/bzr-colo/checkout colo:bialix-checkout

OK, it seems I'm using colo: prefix and its long form less than 
required. I need to teach myself for it.

> If we wanted to make the two steps into one command, I think that adding
> a --from-remote option to colo-branch is completely reasonable.  The
> issue with --from-branch is that it is meant to be used with branch
> names and so it interprets "bzr colo-branch
> --from-branch=lp:~user/merge/proposal user-merge" to mean creating and
> switching to a new branch starting from
> ..bzr/branches/lp:~user/merge/proposal.

I will try to play with colo:xxx:branch URL more and I think this should 
make my proposal obsolete.

Neil,

I'm planning to write article for bzr-day (in Russian) of working with 
git-style workspace in bzr in general treeless repo + branches + light 
checkout, and in particular about using colo plugin for this workflow.

Do you plan to bump version number or tag new release of colo plugin? 
Currently it's 0.0.2dev. I can refer to current state of the plugin as 
trunk @ revno.XXX. But if you have some plans on the actual release or 
just version bump I'd like to know.

Alexander




More information about the bazaar mailing list