Search code examples
gitsvngit-svn

Why is git svn fetch so slow?


I'm trying to git svn fetch my repo to perform a git rebase -i I'm performing the fetch locally why is it so slow? Should it really take so much time to create 1000 revisions? It seems like the process just "falls a sleep" on a file then suddenly there is a flurry of activity.


Solution

  • git svn fetch ( and clone) have to do the heavy lifting and create the entire repository, talking to svn and creating the git repository on your local machine. You may do it on the same server where the svn server is ( which is what I think you meant by locally), but still the git svn client has to process a lots of revisions, processing them one-by-one and creating the repo. 1000 revisions is a lot, it might take a while. Be patient and let it do its job. When you work on the repo, make sure you fetch / rebase often.