"git svn fetch" slow
- From
Markus Heidelberg <markus.heidelberg@web.de>
- Date
- Jan 31, 2009, 13:14 UTC
- Message-ID
- <200901311414.58205.markus.heidelberg@web.de>
Hi,
since several days "git svn fetch" didn't seem to work any more. I bisected it down to
commit dbc6c74d0858d77e61e092a48d467e725211f8e9
git-svn: handle empty files marked as symlinks in SVN
2009-01-11In the new function _mark_empty_symlinks() there is a loop that takes about 36 seconds for me. That means each svn revision takes 36+x seconds for downloading. So it still works, but I aborted it before waiting so much time, so I thought, it didn't work any more.
The loop loops over each blob ("git ls-tree -r git-svn | wc -l" times). The project I'm using git-svn with is Buildroot and it has currently 3074 blobs in the tree. Printing a loop counter every time the loop is executed, I can see that it mostly goes really fast, but there are files, where it needs much time then.
Could there be a way to avoid this time consuming step?
Markus