Sometimes you find svn repositories, yes it happens… Other times you even created them because you were not aware of the existance of git (blame on me). The point is we need to get in into a git repository!
Searching a bit on google you find some utilities like
svn2git (which uses
git svn). There is also some method that need to use svnadmin but we’ll try to avoid them…
The simpliest way is to use svn2git along with an authors.txt file.
If there are any names with spaces you will need to find them :P * Create and authors.txt file and add every name you found:
Adding the verbose option (
-v) is optional but very recommended to find errors faster if the process fail. Wait, and enjoy your new git repo! Just one Last thing, remember to supress the trunk at the end from your url if you hae the default layout. For local svn repositories do the same as above but use
file://<absolute-path-to-repo> instead of the url
Hope it helps!