Move from SVN to BZR

Asked by Jorge Gallegos

Hi,

I have a project I want to move to Launchpad... the SVN repo is self-mantained, and I want to change it completely to use LP infrastructure... is it possible to move the SVN code to BZR completely? I mean, not just keeping it in sync using vcs-imports. Can that be done?

Thanks in advance

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
David Allouche
Solved:
Last query:
Last reply:
Revision history for this message
Best David Allouche (ddaa) said :
#1

It can be done. Having a conversation with you to clarify your requirements for this transition would help. So this reply will just address generalities.

If you are only interested in converting the trunk branch of one or several independent projects, you can use the Launchpad code import service to perform the conversion. When the conversion is complete you can request that we disable the imports and you can use the produced bzr branch to base you future work on. Then you can upload your new work to Launchpad using the normal code hosting service.

Using Launchpad's code hosting service:
https://help.launchpad.net/FeatureHighlights/EasyBranching

Using Launchpad's code import service:
 https://help.launchpad.net/VcsImports
 https://help.launchpad.net/FeatureHighlights/BranchImports

If want to import multiple branches for a project (such as trunk, a stable branch, and some current feature branches), you would be better served using the bzr-svn plugin for bzr, or the svn2bzr script. You run those tools on your own computer and they can product multiple related branches. You can then upload those branches to Launchpad using the normal code hosting service.

Migration tools: http://bazaar-vcs.org/BzrMigration
bzr-svn: http://bazaar-vcs.org/BzrForeignBranches/Subversion
Bzr community: http://bazaar-vcs.org/BzrSupport

To be more specific, we would need more details. In particular, we would need to access the Subversion repository you want to import.

Regards.

Revision history for this message
Jorge Gallegos (thekad) said :
#2

Thanks David Allouche, that solved my question.

Revision history for this message
Christian Reis (kiko) said :
#3

This is now a FAQ:
FAQ #26: “How do I migrate from SVN or CVS to Bazaar using Launchpad?”.

Revision history for this message
Christian Reis (kiko) said :
#4

Christian Reis suggests this article as an answer to your question:
FAQ #37: “What version control systems does Launchpad support?”.