What does it mean when git svn clone runs for a long time, terminates and does nothing

I updated git on my mac to 1.7.2. I can no longer get git svn clone or git svn fetch for success.

With GIT_TRACE = 2 last words on the topic:

trace: built-in: git 'config' 'svn-remote.svn.branches-maxRev' '12912' trace: built-in: git 'config' 'svn-remote.svn.tags-maxRev' '12912' trace: built-in: git 'config' 'svn-remote.svn.branches-maxRev' '12912' trace: built-in: git 'config' 'svn-remote.svn.tags-maxRev' '12912' trace: built-in: git 'gc' '--auto' 

git branch -a is not allowed to say anything, nothing has been verified. But no error messages.

 git svn clone -s https://gate.svn.sourceforge.net/svnroot/gate 

If anyone else wants to try this.

I suppose I should ask the question: "Does anyone know about this?"

EDIT

There is a mistake here, but it is completely different from what I claimed. I doubt this has anything to do with the git version.

The URL above is not a stdlayout svn url. If you add another / gate at the end, you will look for the stdlayout url. The error is that git svn should print a message stating that it cannot find the trunk, tags or branches.

+6
git git-svn
source share
1 answer

I will throw this away because I am faced with similar problems with git-svn on a repo that has had a long complicated branch history (and there is no standard branch branch). git-svn took a long time because it was trying to determine the beginning of a story going backward. It took quite a while, and eventually failed due to problems in the history of the SVN repo.

What helped make this reliable was to limit the story that I cloned in a specific range using -r {Rev ID start}..HEAD . Perhaps this will help.

+1
source share

All Articles