Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign up"Use of uninitialized value $u" #50
Comments
This comment has been minimized.
This comment has been minimized.
It looks like that error is coming from git-svn. svn2git ultimately wraps around git-svn, which is some perl script shipped with git proper. Off-hand I'm not sure what that error is related to. |
This comment has been minimized.
This comment has been minimized.
Thanks, I'll ask git-svn folks. On Thu, Feb 2, 2012 at 5:31 PM, Kevin Menard <
|
This comment has been minimized.
This comment has been minimized.
Updating to the latest version of git (from 1.7.5.4 to 1.7.8.4) solved this issue for me. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Madden's hack, referenced by @ctapmex, worked for me when importing https://svn.plone.org/svn/collective/buildout/collective.recipe.supervisor/ |
This comment has been minimized.
This comment has been minimized.
@ctapmex tip did the trick. thanks! |
This comment has been minimized.
This comment has been minimized.
@ctapmex, it works for me. thanks. |
This comment has been minimized.
This comment has been minimized.
@ctapmex worked for me as well! |
This comment has been minimized.
This comment has been minimized.
@ctapmex and for me too, thanks! Google groups link changed to https://groups.google.com/forum/?fromgroups=#!topic/msysgit/7MQVwRO-2N4 |
This comment has been minimized.
This comment has been minimized.
Worked for me as well, exact same failure but at line 106 in /usr/share/perl5/Git/SVN.pm |
This comment has been minimized.
This comment has been minimized.
Seems to work for me as well, at least it doesn't die.
|
This comment has been minimized.
This comment has been minimized.
@mateor I ran into this as well. @anselmdk thanks for the fix Like you, I'm not sure whether this is the most appropriate fix to the underlying root cause or not. I created a fork of git and applied this patch to support some conversions I am doing. I applied the fix to 1.8.2.3 and master. https://github.com/if6was9/git/commit/364c42061ade26469f47980bf768d625099b866a I'm going to submit to the patch to the git mailing list and see what they say. |
This comment has been minimized.
This comment has been minimized.
Editing the config file worked for me: http://stackoverflow.com/a/17827367/2613458 |
This comment has been minimized.
This comment has been minimized.
In my case, editing the config file makes it work for a bit, then it fails again. The fix posted by anelmdk allows the process to go the whole way. |
This comment has been minimized.
This comment has been minimized.
+1 for anselmdk 's fix |
This comment has been minimized.
This comment has been minimized.
+1 for anselmdk 's fix :) |
This comment has been minimized.
This comment has been minimized.
Why can't this fix make its way upstream ? |
This comment has been minimized.
This comment has been minimized.
@mickaelistria what was the result of you contacting the git-svn people? Who did you contact? The fix proposed by @anselmdk does not work for me, because I have the error at line 106, see #99 @archibaldovitch I think the reason is because upstream has not been contacted yet, and/or nobody knows who to contact at upstream, and how. Maybe? |
This comment has been minimized.
This comment has been minimized.
As I reported here: #66 (comment) Fix for me was making sure I was running svn2git in a genuinely empty directory ("rm -rf .git") if a previous attempt had aborted for some other reason. |
Hi,
While giving a try to svn2git on my local machine for JBoss Tools repo - which is quite huge, I got the following error, that I don't understand:
$ /var/lib/gems/1.8/bin/svn2git -v http://anonsvn.jboss.org/repos/jbosstools
Running command: git svn init --prefix=svn/ --no-metadata --trunk=trunk --tags=tags --branches=branches http://anonsvn.jboss.org/repos/jbosstools
Running command: git svn fetch
Found possible branch point: http://anonsvn.jboss.org/repos/jbosstools/trunk => http://anonsvn.jboss.org/repos/jbosstools/branches/jboss, 78
Use of uninitialized value $u in substitution (s///) at /usr/lib/git-core/git-svn line 1728.
Use of uninitialized value $u in concatenation (.) or string at /usr/lib/git-core/git-svn line 1728.
refs/remotes/svn/trunk: 'http://anonsvn.jboss.org/repos/jbosstools' not found in ''
The first time I run this command, I could see the files being fetched. Now I don't see the fetch occur (probably files are cached), but I always get this issue.
Could someone help me on this?