ZeWaren
ZeWaren

Reputation: 4198

How to export a bazaar branch into a new subversion repository and then pull/push from it

I've been working on a project, using Bazaar as a version control system. Now I have to work with people offshore, and they only want to use SVN.

What I have:

What I want:

I managed to copy the branch into the svn repo using tailor, but bazaar won't recognized it (Branches have no common ancestor).

Is such a thing possible?

Upvotes: 3

Views: 777

Answers (1)

jelmer
jelmer

Reputation: 2450

Yes, this is possible using bzr-svn. After you've created your Subversion repository, simply push to trunk:

$ svnadmin create /my/svn/repo
$ cd /my/bzr/branch
$ bzr push /my/svn/repo/trunk
Pushed up to revision X.

After that, you should be able to pull from the trunk whenever they have made changes. You can push your changes using bzr push, possibly after rebasing them if the branches have diverged (using bzr rebase in the bzr-rewrite plugin).

Upvotes: 4

Related Questions