I'm trying to use git svn
to clone a SVN repo into Git.
I run the following command:
C:\Projects>git svn clone -T trunk -b branches -t tags --no-metadata https://svn.mycompany.com/Projects/MyProject MyProject
And I get the following error:
Found possible branch point: https://svn.mycompany.com/Projects/MyProject/trunk => https://svn.mycompany.com/Projects/MyProject/tags/11.1.9.33334, 33334
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/Git/SVN.pm line 106.
Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/Git/SVN.pm line 106.refs/remotes/MyProject-10.2: 'https://svn.mycompany.com/Projects' not found in ''
Version of git is:
1.8.1.msysgit.1
My problem was that due to such a large SVN (files and log) that it kept crashing at some points and when I restarted it created multiple lines of the branches and tags within my .git/config file.
branches = branches/*:refs/remotes/svn/branches/* tags = tags/*:refs/remotes/svn/tags/*
I simply removed the duplicate entries of these and restarted with my command
git svn fetch
I had the same error and solved it by upgrading to git version 2.6.2.windows.1
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With