Subject: Re: git svn clone stops after r2 for svn://mlton.org/mlton/trunk

From: Pascal Obry <[email-masked]>
Date: Wed, 02 Feb 2011 21:19:11 +0100

Florian,

> There's something strange going on there:
> 
> $ git svn clone svn://mlton.org/mlton/trunk mlton 
> Initialized empty Git repository in /home/fw/src/mlton/.git/
> r2 = 61f0dd5ba401ece2ff4668bc7454b7742c60fa99 (refs/remotes/git-svn)
> Checked out HEAD:
>   svn://mlton.org/mlton/trunk r2

This is probably because the first revision in trunk is r2 and there is
no r0 nor a r1. This repository has been converted from CVS (see r2). In
such a case you can convert properly using:

   $ git svn clone -s -r3:7500 svn://mlton.org/mlton mlton

r3 is the first actual revision, all see can be seen using:

   $ svn://mlton.org/mlton/trunk mlton

Note that I have used -s as this repository is using a standard svn layout.

Hope this helps.

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|    http://www.obry.net  -  http://v2p.fr.eu.org
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver keys.gnupg.net --recv-key F949BD3B