Score
0
Watch 3 Star 4 Fork 0

GiteeStudio / git-svn-fast-importCMIT

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
码云 git-svn-fast-import 改进 spread retract

Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
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.