Changes

Jump to navigation Jump to search

Git svn

639 bytes added, 19:53, 20 July 2013
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..."
== 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 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
Trusted, Bureaucrats
1,382

edits

Navigation menu