Converting svn repositories to git with Kafka

image by christiaan_tonnis 

SVN really sucks, every time i use it i find myself rolled up in a ball on the floor crying after about 20 minutes. And unfortunately for me, some of the very old projects i work on now and again are based in SVN repositories. 

The great project svn2git seemed like a dream come true when i stumbled upon it, although I found out pretty quickly that it just doesn’t seem to want to play ball with repositories hosted on unfuddle, which the majority of our projects are. 

This is where the idea for kafka came along, I needed a quick and hassle free way to convert our old SVN repositories to git, for sanity and general productivity. Loosely based on svn2git kafka is a tiny little ruby gem which uses the power of git-svn to convert svn repositories to git.

To give Kafka a try, simple install the gem with rubygems:

gem install kafka

Kafka is in it’s pretty early stages, as in version 0.0.2, so it does have it’s limitations. The largest being it will only work with SVN repo’s using the standard SVN repo layout:

- trunk
- branches
- git

For a step-by-step guide and more information you’ll want to head to the github for the project. 

Kafka on Github 

1 note 
Tags: git svn svn2git svn git
  1. alexefish posted this