Skip to content

Tool to convert an svn repo to a git repo, dockerized, using the svn2git tool.

Notifications You must be signed in to change notification settings

ryanwalker/svn-to-git-dockerized

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

svn-to-git-dockerized

With only 1 dependency (Docker), you can convert svn repos to git repos.

A Dockerfile is used to create an image with all the needed svn2git dependencies. This image is then used in the svn2git executable. The executable is a wrapper around a docker run command. The docker run command mounts the current host directory into the container and then allows you to run svn2git (https://github.com/nirvdrum/svn2git).

The only dependency is docker.

A vagrant file is also included if you want to run this in a vagrant box.

Create a directory where you want the newly converted repo to reside.

cd svn-to-git-dockerized
mkdir svn-project-name
cd svn-project-name

Run the svn2git tool.

See https://github.com/nirvdrum/svn2git for all the available svn2git options.

./../svn2git https://path/to/repo/to/convert

(svn2git is one directory above this, thus ./../svn2git)

About

Tool to convert an svn repo to a git repo, dockerized, using the svn2git tool.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages