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

2 messages from 2011-01-29 to 2011-02-02. Participants: Florian Weimer, Pascal Obry.
Thread: https://gitlist.dev/t/26361

## Florian Weimer, 2011-01-29 15:55

Subject: git svn clone stops after r2 for svn://mlton.org/mlton/trunk
Message-ID: <87aaijso0j.fsf@mid.deneb.enyo.de>
URL: https://gitlist.dev/e/87aaijso0j.fsf%40mid.deneb.enyo.de

```
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
$
 
"git svn fetch" is able to continue, though, so this is only a very
minor inconvenience.

```

## Pascal Obry, 2011-02-02 20:19

Subject: Re: git svn clone stops after r2 for svn://mlton.org/mlton/trunk
Message-ID: <4D49BC3F.5080902@obry.net>
URL: https://gitlist.dev/e/4D49BC3F.5080902%40obry.net
In-Reply-To: <87aaijso0j.fsf@mid.deneb.enyo.de>

```

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

```
