Subversion and branches
Jelmer Vernooij
jelmer at samba.org
Tue Dec 9 14:01:14 GMT 2008
Am Dienstag, den 09.12.2008, 11:44 +0000 schrieb Russel Winder:
> I know I should know the answer to this but...
>
> Using Git I can do:
>
> git svn clone -T trunk -b branches <some Subversion repository URL>
>
> and the clone has all the information about the trunk and its branches.
>
> Clearly with Bazaar, step 1 is:
>
> bzr init-repo --rich-root-pack SharedRepository
> cd SharedRepository
>
> but now if I just pull the two branches, Bazaar doesn't know that they
> are actually connected.
If you pull in branches this way by running "bzr branch ..." inside of
SharedRepository, bzr *will* see the two branches are connected.
Actually, the equivalent to that git command above would just be:
bzr svn-import <some svn repository url>
Cheers,
Jelmer
--
Jelmer Vernooij <jelmer at samba.org> - http://samba.org/~jelmer/
Jabber: jelmer at jabber.fsfe.org
More information about the bazaar
mailing list