This is an old revision of the document!
importing an svn repository
- create a text file somewhere (~/Desktop/users.txt) to map the svn users to git users
jdoe = John Doe <jdoe@example.com>
- create a temporary project directory, and change to it
mkdir myproject_tmp cd myproject_tmp
- initialize an empty git repository
git svn init http://host/path/to/your/svn/repo/ --no-metadata
- set up the user file for mapping
git config svn.authorsfile ~/Desktop/users.txt
- import the svn repository
git svn fetch
- change up one directory, and clone this newly created repository (this cleans up all svn stuff)
cd .. git clone myproject_tmp myproject
- the myproject_tmp directory can now be removed