Skip to content

Instantly share code, notes, and snippets.

View mauritsvanrees's full-sized avatar

Maurits van Rees mauritsvanrees

View GitHub Profile
@jimfulton
jimfulton / svn2git.py
Created January 31, 2013 15:56
Here's a Python script I wrote to convert subverstion projects to git. I wrote it after I had some problems with the Ruby svn2git program. Like the Ruby svn2git program, it's a fairly thin wrapper over the git svn plugin, which does most of the heavy lifting. This isn't "finished", but it's good enough for most cases and I doubt I'll do any more…
##############################################################################
#
# Copyright (c) 2012 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS