"bzr git-import" and multiple branches

Jelmer Vernooij jelmer at samba.org
Sat Apr 7 23:33:38 UTC 2012


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

On 04/07/2012 02:40 PM, Eli Zaretskii wrote:
> Previously, "bzr git-import" would create all the branches, but
> without trees, so one needed to "bzr co" in any branch for which one
> wanted to have a tree.
>
> But in bzr 2.5.0, no directories are created, and "bzr co" seems to
> checkout a single branch (which one?).
>
> I thought perhaps the branches are colocated, but "bzr switch" refuses
> to switch to a named branch:
>
> D:\gnu\bzr\gawk-branches>bzr switch gawk-stable
> bzr: ERROR: Cannot switch a branch, only a checkout.
>
> What am I missing? How do I checkout several branches in a repository
> created by git-import?
>
The branches are created as colocated branches now. "bzr branches"
should list them all.

Cheers,

Jelmer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJPgM7RAAoJEACAbyvXKaRXiU8P/0lC+SatPX0BCCCt0ReTSIyo
1OjEK6pPgh2LC9TTr3ukJL8v5Jb7FJ5xRMg2r2cKqRXsU3Q11KjBfLksX8ep1MQU
7BGyUkP/L6SmPPUcZXgOKShG4hJmfQSa3SG9ZYeyGE3Z0rS8JtA+bQ5pA9sRD954
vOkRO3wZAlluJ5JIVE1RF+731x7sC/cp02sC1g2cTZtpUM0hVZyFgWs8qj0NeDHF
gXiReDShSwFQy68Hf6SQwr/N2F82wBQ4VJnf/8gtr68X2sCxcQQGdo/6Qt4mHStt
6o+nx3dThsKFGCtl7UvvRS4D7aKOIvIzpDF3aDxpniWWFXt1rXn5EF/0V4DHPO6+
yEVg1p0pazkadvfX5Aov50wXY5xa7HGzOnAxceTsg9k1anECEhFh/MNoTxANrlBo
SgQCc3TOUslxUOnhhkgoZ1O19NiMJBxOA3Tzzmse2CeI+tVp6qcJQ3UhA9fGfrDT
B+QwuarNXfWOBmMMZ4gkoQwuDjQ497KBysWNv/4QxVhtZV5SvhhlexxG9mWNR1Ee
k5qZWkzLGJ2gYxyylWWpASCUXKpN+slc4vNccGNF6YmTLgmV/Tu8lKAsXkw694Zm
SL9natYLMkUICctRpKdSviUvYaEJCX+pJWFp0DaS1avpsPr/HlNPbCUuTGVLIiqA
jsg9JBP9PNcJ0oxs4xOk
=waQY
-----END PGP SIGNATURE-----




More information about the bazaar mailing list