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

A collection of scripts to experiment with getting SVN history into git

Notifications You must be signed in to change notification settings

andrew-sayers/Proof-of-concept-History-Converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Proof-of-concept SVN->Git History Converter

This proof-of-concept code is not intended for production use! If you came here looking to convert your repository from SVN, consider one of the following:

This repository contains a collection of tools for exporting history information from SVN and importing it into Git. It was originally written to explore problems and solutions around the conversion process, and has been put online to further discussion: http://article.gmane.org/gmane.comp.version-control.git/192163

Overview

svn-fe does an excellent job of importing a branchless SVN repository into Git, but does nothing to reconstruct the history information (i.e. branches, merges and tags). This project aims to do that reconstruction. It consists of three parts:

  • Branch History Format - an abstract description of SVN history

  • svn-branch-export.pl - a script to describe a history from an SVN dump

  • git-branch-import.pl - a script to apply SVN history to a git repository

The fact that these have been developed together is something of a historical requirement - it would be impossible to create any one without having the other two to test against, but it's possible (even desirable) to reuse any one as part of a different project.

Please see the documentation in the two .pl files for more details about how to use them.

About

A collection of scripts to experiment with getting SVN history into git

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages