check in a bzr branch into subversion

Jelmer Vernooij jelmer at samba.org
Wed Oct 24 12:49:44 BST 2007


Am Mittwoch, den 24.10.2007, 13:39 +0200 schrieb Martin Steigerwald:
> Am Mittwoch, 24. Oktober 2007 schrieb Erik Bågfors:
> > I think it would go like this
> > 1) create the branch in svn
> > 2) branch the branch using bzr-svn
> > 3) checkin as much as you want into this branch.
> > 4) push it into svn using bzr-svn
> >
> > If you have a branch created in bzr that you want to push to svn, I
> > don't know if that's possible or not.
> 
> Problem is: I already have that bazaar branch with more than 40 revisions and 
> I would like to keep the version history. Well I could checkout revision 1 of 
> my bazaar branch and check it into svn and then revision 2, pretty much the 
> same as what tailor would do.
> 
> I just thought bzr-svn might be able to help me there. Otherwise I would try 
> whether tailor can convert it for me. But my last experiences with tailor - I 
> wanted to convert mercurial to bazaar - haven't been that convincing. 
You should be able to use the 'svn-push' command from bzr-svn; for
example, you can run something like (from the bzr branch you'd like to
push):

bzr svn-push svn://foobar.host/repository/trunk

I'd recommend using the latest version of bzr-svn for this.

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