Open main menu

Background

Based on this and this article.

Windows

md C:\relax
svnadmin create C:/relax/trunk
md C:\relax\branches
svnadmin create C:/relax/branches/relax_disp

echo exit 0 > C:/relax/trunk/hooks/pre-revprop-change.bat
echo exit 0 > C:/relax/branches/relax_disp/hooks/pre-revprop-change.bat
svnsync init file:///C:/relax/trunk svn://svn.gna.org/svn/relax/trunk
svnsync init file:///C:/relax/branches/relax_disp svn://svn.gna.org/svn/relax/branches/relax_disp
# Be aware, if your repo is big, it could take a loooot of time.
# Example. 20500 commits, took from 22 PM to 23 PM.
svnsync sync file:///C:/relax/trunk
svnsync sync file:///C:/relax/branches/relax_disp
md C:\relax\trunk_git
cd C:\relax\trunk_git
git svn clone file:///C:/relax/trunk -s
md C:\relax\branches\relax_disp_git
cd C:\relax\branches\relax_disp_git
git svn clone file:///C:/relax/branches/relax_disp -s