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

Re: git svn clone fails

From
Torsten Bögershausen <tboegi@web.de>
Date
Aug 14, 2015, 08:32 UTC
Message-ID
<55CDA784.7080809@web.de>
In-Reply-To
<mqk6mb$qi8$1@ger.gmane.org>

On 2015-08-14 09.51, Jörg Schaible wrote: I can't reproduce it here:

 git svn clone http://websvn/svn/essvn/standard/java-commons/lang
Initialized empty Git repository in /home/xx/lang/.git/
RA layer request failed: OPTIONS of
'http://websvn/svn/essvn/standard/java-commons/lang': Could not resolve hostname
`websvn': Host not found (http://websvn) at
/Users/xx/lib/perl5/site_perl/Git/SVN.pm line 143

In other words, is there a way to make this reproducible for others? If not, how could the problem be tracked down and fixed (from other people than you or somebody in your organization ?)

Show 45 quoted lines
> Is there really no other place for a bug report? This will simply vanish in 
> the list's noise ...
> 
> Jörg Schaible wrote:
> 
>> Hmmm. Is this the proper channel to report issues or should I go somewhere
>> else?
>>
>> Jörg Schaible wrote:
>>
>>> 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
> 
Previous: Jörg SchaibleNext: Jörg Schaible
Message 4 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.