threads / discuss / 26361

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

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

## tl;dr

2 messages between Jan 29, 2011 and Feb 2, 2011.

replies: 1people: 2as markdown or json

Florian Weimer· Jan 29, 2011, 15:55 UTC · lore
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· Feb 2, 2011, 20:19 UTC · re: Florian Weimer · lore

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

Florian,
Show 7 quoted lines
> 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

← back to recent threads