Git Svn – Found possible branch point

gitgit-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

Best Answer

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