cloning ruby's svn repo

J

Jano Svitok

from http://blog.emptyway.com/2008/06/19/full-git-clone-of-matz-ruby-subversion-repository/

git svn clone --stdlayout http://svn.ruby-lang.org/repos/ruby

This takes a long time and collects 300Mb+ of data. Say I just wanted
1.9 or from 1.8.4 to 1.9, how's that done?

Maybe you can just synchronize (however it's called in git-speak) with
vladimir's git repo, he (or his scripts) will do the conversion for
you.
Then IIRC, you can specify starting revision in the command.

http://www.kernel.org/pub/software/scm/git/docs/git-svn.html look for
--revision. Now the only thing left is to figure out the starting
revision for 1.8.4.

I don't known whether is it possible to strip some branches as well.
 
J

john maclean

2009/1/19 Jano Svitok said:
Maybe you can just synchronize (however it's called in git-speak) with
vladimir's git repo, he (or his scripts) will do the conversion for
you.
Then IIRC, you can specify starting revision in the command.

http://www.kernel.org/pub/software/scm/git/docs/git-svn.html look for
--revision. Now the only thing left is to figure out the starting
revision for 1.8.4.

I don't known whether is it possible to strip some branches as well.


git svn init --prefix=origin/ --stdlayout http://svn.ruby-lang.org/repos.ruby
git svn etch --all

gonna play with that a bit to see what it brings


--
John Maclean
07739 171 531
MSc (DIC)

Timezone: GMT
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,710
Latest member
bernietqt

Latest Threads

Top