Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git Svn - Found possible branch point

Tags:

git

git-svn

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

like image 695
Alex Avatar asked Mar 13 '13 14:03

Alex


2 Answers

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 
like image 194
Phil Cook Avatar answered Sep 28 '22 15:09

Phil Cook


I had the same error and solved it by upgrading to git version 2.6.2.windows.1

like image 27
Johan Gov Avatar answered Sep 28 '22 17:09

Johan Gov