Skip to content
This repository has been archived by the owner on Jul 17, 2021. It is now read-only.

Latest commit

 

History

History
54 lines (37 loc) · 1.39 KB

README.md

File metadata and controls

54 lines (37 loc) · 1.39 KB

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 [email protected].

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