Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Simple Git Migrate Script
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README
migrate.sh

README

=============================================================
Simple Git Migration Script
=============================================================

Description
-------------------------------------------------------------

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 .

The final repository is converted over to a bare git repository.

Requirements
-------------------------------------------------------------

Mac OS X, Linux:
- SVN
- Native Git

Windows:
-You will need MSYSGIT, http://code.google.com/p/msysgit/downloads/list

Usage
-------------------------------------------------------------

You will want to generate a list of committers first:

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

Open the the commiters list file and add email address. Change the following format:

jhuntley = jhuntley <jhuntley>

To:

jhuntley = jhuntley <onepremise@gmail.com>

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 .
Something went wrong with that request. Please try again.