klemmster / libavg_svn_migration

Preparing libavgs migration to github
0 stars 2 forks source link

Get Started

Prerequisites

Setup

gcli init
gcli authorize

Convert

Have a look at the first link and setup a local svn mirror of libavgs svn

#http://cournape.wordpress.com/2007/12/18/making-a-local-mirror-of-a-subversion-repository-using-svnsync/
svnsync sync file:///home/richy/Projects/Archimedes/libavg_gitmigrate/libavg_svn_copy
mkdir libavg_git
cd libavg_git
svn2git --rules ../libavg.rules --identity-map ../authors.txt --add-metadata --stats --add-metadata-notes --dry-run /home/richy/Projects/Archimedes/libavg_gitmigrate/libavg_svn_copy
cd libavg
./../../createTags.sh
#TODO: automatically remove all tag--* br

Resource

http://blog.smartbear.com/software-quality/migrating-from-subversion-to-git-lessons-learned/