Skip to content
Fast Subversion-to-Git converter
C Shell Makefile Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
t
.gitignore
.gitmodules
.travis.yml
LICENSE
Makefile
README.md
author.c
author.h
branch.c
branch.h
checksum.c
checksum.h
commit.c
commit.h
export.c
export.h
git-svn-fast-import.sh
git-svn-verify-import.py
install-deps.sh
node.c
node.h
options.c
options.h
sorts.c
sorts.h
svn-fast-export.c
svn-ls-tree.c
tree.c
tree.h
uname.mak
utils.c
utils.h

README.md

git-svn-fast-import

Build Status

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.

Installation

Use the make command:

$ export PREFIX=$HOME/opt
$ make
$ make install

Requirements

Example

$ 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

Copyright (C) 2014-2015 by Maxim Bublis b@codemonkey.ru.

git-svn-fast-import released under MIT License. See LICENSE for details.

You can’t perform that action at this time.