git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git svn clone fails

From
JSJörg Schaible <joerg.schaible@swisspost.com>
Date
Jul 29, 2015, 10:12 UTC
Message-ID
<mpa8th$m80$1@ger.gmane.org>
Hello guys,

we have to turn some projects managed by Subversion into a GIT-based solution. However the conversion unfortunately fails with an error:

============== %< ==============
[...]
Found branch parent: (refs/remotes/origin/tags/v_2.1.1) 
450fa2c84a8fc087a2a66e5fb3d6d22096671f81
Following parent with do_switch
        M       changes.xml
        M       pom.xml
couldn't truncate file at /usr/lib64/perl5/vendor_perl/5.20.2/Git.pm line 
1325.
$ git --version
git version 2.5.0
============== %< ==============

Apart from the line number, the same error occurs also with GIT version 2.4.6 and 2.3.6 (latest stable version in Gentoo).

The command to create the GIT repository was: ============== %< ============== $ git svn clone http://websvn/svn/essvn/standard/java-commons/lang -s --no- metadata --preserve-empty-dirs -A ~/tmp/authors.txt commons-lang ============== %< ==============

Note, that the command succeeds even for 2.4.6 if we drop the --preserve- empty-dirs option - at the cost of some empty directories which are used to trigger profiles for Maven; i.e. without those we cannot reproduce released versions.

Cheers, Jörg

Next: Jörg Schaible
Message 1 of 9 in “git svn clone fails”
  1. Jörg SchaibleJul 29, 2015
  2. Jörg SchaibleAug 4, 2015
  3. Jörg SchaibleAug 14, 2015
  4. Torsten BögershausenAug 14, 2015
  5. Jörg SchaibleAug 14, 2015
  6. Torsten BögershausenAug 14, 2015
  7. Jörg SchaibleAug 14, 2015
  8. Eric WongSep 2, 2015
  9. Jörg SchaibleSep 3, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.