Migrating bzr repository

Asked by Eric Berry

I have an SVN repository which I've imported into Bazaar using the bzr-svn plugin. The structure is the same as the Project/trunk layout described here:
http://doc.bazaar.canonical.com/latest/en/user-guide/shared_repository_layouts.html#project-trunk

It's actually in the suggested Bazaar format.
[project]
   trunk
   branches

However, I'm planning on moving it to a better server, but I'm not sure how to go about doing this. I know I can go through each branch and push it to my new server, but there are dozens of branches in there, and it would take forever to go through each one.

Is there a way to push the entire repository to another server? Will doing this keep all the referential information? Parent, and push branch aliases, etc...?

I did a quick search through bazaar and launchpad, and didn't come across any definitive documentation on migrating Bazaar repositories. Is there some documentation on how to do this?

Thanks,
Eric

Question information

Language:
English Edit question
Status:
Solved
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Solved by:
Martin Pool
Solved:
Last query:
Last reply:
Revision history for this message
Best Martin Pool (mbp) said :
#1

The easiest way is probably to tar up or rsync the whole lot.

Another option is the repo-push plugin.

--
Martin <http://launchpad.net/~mbp/>

Revision history for this message
Eric Berry (elberry) said :
#2

Thanks Martin Pool, that solved my question.

Revision history for this message
Eric Berry (elberry) said :
#3

So simple. Love it. Thanks.

The repo-push plugin looks like it hasn't been updated in a few years, do you know if it still works?

Revision history for this message
Martin Pool (mbp) said :
#4

On 24 March 2010 17:19, Eric Berry <email address hidden> wrote:
> Question #105372 on Bazaar changed:
> https://answers.launchpad.net/bzr/+question/105372
>
> Eric Berry posted a new comment:
> So simple. Love it. Thanks.
>
> The repo-push plugin looks like it hasn't been updated in a few years,
> do you know if it still works?

I don't, but please tell me if it's broken.

--
Martin <http://launchpad.net/~mbp/>