Skip to contentSkip to conversation

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

DISCUSSION Florian Weimer 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

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.

#1 lore raw

Florian,

Quoted 7 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.

Signature · 8 lines
--|------------------------------------------------------
--| 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