Difference between revisions of "Git svn"
Jump to navigation
Jump to search
(Created page with "== Background == Based [http://git-scm.com/book/ch8-1.html on this] and [http://iacoware.wordpress.com/2009/10/02/howto-use-svnsync-to-mirror-a-repository-on-windows/ this art...") |
(No difference)
|
Revision as of 19:53, 20 July 2013
Background
Based on this and this article.
mkdir gittest cd gittest svnadmin create svn
#In windows echo exit 0 > svn/hooks/pre-revprop-change.bat #In linux echo "#!/bin/sh" > svn/hooks/pre-revprop-change echo "exit 0;" >> svn/hooks/pre-revprop-change chmod +x svn/hooks/pre-revprop-change
svnsync init file:///c:/WinPython27/gittest/svn http://svn.gna.org/svn/relax/trunk # Be aware, if your repo is big, it could take a loooot of time. svnsync sync file:///c:/WinPython27/gittest/svn