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 >