Open main menu

Changes

Git svn

490 bytes added, 09:06, 21 July 2013
no edit summary
= Background =
 
== Windows ==
=== Test 1 ===
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.]
== Windows ==
=== Test 2 ===
md C:\relax\svn\trunk
svnadmin create --pre-1.4-compatible C:/relax/svn/trunk/.svn
[http://www.tfnico.com/presentations/git-and-subversion Based on these posts] and on [http://trac.parrot.org/parrot/wiki/git-svn-tutorial these posts].
* -s is for --stdlayout which presumes the svn recommended layout for tags, trunk, and branches.* -r is for the revision to start taking history from. If you want to include all of the history, just leave that option off, but it will take a very long time, and you really don't need all of it. The older a revision you choose, the longer it will take to import. But you will not be able to "git blame" past the earliest revision you import. Choose wisely.  md C:\relax cd C:\relax git svn clone -s -r 20000:HEAD httpssvn://svn.parrotgna.org/parrotsvn/relax/trunk/
Trusted, Bureaucrats
1,382

edits