git-svn-fast-import is a toolset for fast Subversion-to-Git conversion.
svn-fast-export is Subversion dump utility.
It features:
- branch history support
- multi-branch SVN revisions support
- SVN committer to Git author mapping
svn-ls-tree is Subversion equivalent of Git's ls-tree command.
It tries to mimic git ls-tree behaviour:
- computes blob/tree checksums the same way as Git;
- skips empty directories;
- outputs in the same format as Git.
Use the make
command:
$ export PREFIX=$HOME/opt
$ make
$ make install
- Apache Portable Runtime >= 1.5
- Subversion >= 1.9
- Git >= 2.1.2
$ mkdir -p repo.git && cd repo.git
$ git init
$ git-svn-fast-import --stdlayout -r 0:100000 /path/to/svnrepo
progress Skipped revision 0
progress Imported revision 1
progress Imported revision 2
progress Imported revision 3
...
progress Imported revision 99999
progress Imported revision 100000
Copyright (C) 2014-2015 by Maxim Bublis [email protected].
git-svn-fast-import released under MIT License. See LICENSE for details.