EDIT: Workaround. Now we understand the issue, here is the solution: do
git svn fetch -r REVISION:HEAD
where REVISION is t
Try adding the --log-window-size=5000
parameter.
If the repo has a large number of commits, git-svn will go through them 100
at a time by default. Bumping that up can increase its speed tremendously.
i have change the fetch property to :refs/remotes/git-svn and it works for me
In case of using Git for Windows, make sure to upgrade from 2.20.1 to either previous (2.20.0), next (2.21.0) or any other. Mentioned version has a bug making "git svn fetch" hang, which was later fixed.
It becomes verbose after fetching the first relevant commit.
But until it fetches that commit, you can ensure the command is working properly by checking the .git\svn\.metadata
file. The lines branches-maxRev = 123
and tags-maxRev = 123
will keep updating and increasing their numbers as it works.
For those who were not satisfied with the solution above :
ISSUE : svn+ssh://svn.xxxxxxx.com/svnroot/strategy/products/mysoftware hangs on :
Initialized empty Git repository in [MyLocalRepositoryPath]
SOLUTION: Insert
username@
in front of svn url
svn+ssh://username@svn.xxxxxxx.com/svnroot/strategy/products/mysoftware