Open przemoc opened 11 years ago
I'm also seeing that running it on https://xmappr.googlecode.com/svn/trunk (using Fedora F18 beta and git 1.8.0.2):
r170 = 92d4ae355533f81ecc80e04352f7b40e65f1e6e3 (refs/remotes/svn/trunk)
Found possible branch point: https://xmappr.googlecode.com/svn/trunk => https://xmappr.googlecode.com/svn/tags/0.9.0, 170
Use of uninitialized value $u in substitution (s///) at /usr/share/perl5/vendor_perl/Git/SVN.pm line 106.
Use of uninitialized value $u in concatenation (.) or string at /usr/share/perl5/vendor_perl/Git/SVN.pm line 106.
refs/remotes/svn/trunk: 'https://xmappr.googlecode.com/svn' not found in ''
command failed:
2>&1 git svn fetch
It's git-svn bug.
Given this error, I followed the advice from http://stackoverflow.com/questions/3009738/what-does-this-svn2git-error-mean/4434188#4434188 and removed the duplicate entries under the remotes svn section in my .git/config
. svn2git --rebase
worked like a charm after that.
Given that this is a git-svn bug, where does one report the bug so that it gets fixed? I'm getting tired of removing duplicate entries every couple of minutes and I have a several gigabyte SVN repo to process, with almost 15 years of commits.
This bug was first noticed 2 years ago, it was confirmed to be a git-svn bug, and nothing has been done since. So I decided to take action. I have created a bug report for Git (git-svn) at Ubuntu Launchpad: https://bugs.launchpad.net/ubuntu/+source/git/+bug/1403767
Thanks @amedee.
This issue seems to happen because of the password issue. I ran into this issue after finally fixing the password issue mentioned in #59 and #195. Removing all lines containing tags and branches (not just the duplicates) from .git/config allowed me to continue.
Thank you, @the-real-trash80 . Removal of svn remotes section in .git/config
worked for me too.
Will this be automatic anytime soon?
I'm trying to rebase my vapoursynth svn2git repo (that was initiated with
svn2git -v --revision 2 http://vapoursynth.googlecode.com/svn/
command some time ago), butgit svn fetch
is failing on the svn commit performing tagging. (Same thing happens if you want to run svn2git from scratch.)I upgraded to git 1.8.0 (from debian unstable repository), but it didn't help.
The referenced part of
SVN.pm
is belowI don't see anything special in r332. Any ideas what's wrong and how it can be fixed? It's definitely not about quoting apostrophes or quotation marks, as they aren't there.