pyi-migrate-svn2hg /

Filename Size Date modified Message
53 B
66 B
1.6 KB
9.3 KB
218 B
848 B
646 B
829 B
628 B
4.1 KB
1.0 KB
2.2 KB
640 B
2.5 KB
1.6 KB
2.6 KB
520 B
696 B
1.3 KB
1.5 KB
495 B
.. -*- mode: rst ; ispell-local-dictionary: "american" -*-

Tools for Migrating a Subversion repository to Git

:Copyright: 2011 by Hartmut Goebel <>
:Licence: GNU General Public License version 3.0 (GPL-3.0)

These scripts and data has been used for migrating PyInstaller__ from
Subversion repository to Git. This migration was done in December 2012.


Basically the process is this:

* Create a local mirror of the SVN repository. This speeds conversion
  for the case you have to restart from scratch.
* Convert the SVN repo to git using git-svn (`git svn`).
* Cleanup the git repositories as required and according to your
* Upload the git repository to github, bitbucket, or wherever you

Please see `` for how it works.


* My hacked version of ESR's reposurgeon from
* A slidly modified version on Yuval Kogman git-svn-abandon, available
* svnsync, svnadmin, git, Python 2.7, bash, diff, patch, ...


WARNING: The scripts are not bullet-proof.

1) Adopt to your needs.

   WARNING: Filenames with spaces (and other problemativ characters)
            are NOT supported.

2) The script `` will clone reposurgeon and
   git-svn-abandon into the same directory, if they do not exist.

3) See for last works.