Skip to content
onepremise edited this page Feb 17, 2012 · 3 revisions

Unlike other migration tools, this tool relies on native git instead of jGit. This tool also supports repositories with a large revision history and or large blobs. In some environments, native Git will bail after parsing several thousand revisions. This script will continue calling 'svn fetch' until all revisions are transferred from SVN. This script will convert projects stored in SVN with the following format:

  • /trunk
  • /Project1
  • /Project2
  • /branches
  • /Project1
  • /Project2
  • /tags
  • /Project1
  • /Project2

This scheme is also popular and supported as well:

  • /Project1
  • /trunk
  • /branches
  • /tags
  • /Project2
  • /trunk
  • /branches
  • /tags

Each project will get synchronized over by project name:

Ex: ./migration https://svnurl.com/basepath project1

If you wish to convert the full repo over, use the following syntax:

Ex: ./migration https://svnurl.com/basepath .

Clone this wiki locally