[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

cloning ruby's svn repo

John Maclean

1/18/2009 12:50:00 AM

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

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

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?
--
John Maclean
07739 171 531
MSc (DIC)

Timezone: GMT

2 Answers

Jano Svitok

1/19/2009 12:42:00 PM

0

On Sun, Jan 18, 2009 at 01:50, john maclean <jayeola@gmail.com> wrote:
> from http://blog.emptyway.com/2008/06/19/full-git-clone-of-matz-ruby-subversion-r...
>
> git svn clone --stdlayout http://svn.ruby-lang.org/...
>
> 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/gi... 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.

John Maclean

1/19/2009 4:00:00 PM

0

2009/1/19 Jano Svitok <jan.svitok@gmail.com>:
> On Sun, Jan 18, 2009 at 01:50, john maclean <jayeola@gmail.com> wrote:
>> from http://blog.emptyway.com/2008/06/19/full-git-clone-of-matz-ruby-subversion-r...
>>
>> git svn clone --stdlayout http://svn.ruby-lang.org/...
>>
>> 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/gi... 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/...
git svn etch --all

gonna play with that a bit to see what it brings


--
John Maclean
07739 171 531
MSc (DIC)

Timezone: GMT