git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* "git svn fetch" slow
@ 2009-01-31 13:14 Markus Heidelberg
  2009-01-31 16:23 ` Sverre Rabbelier
  2009-02-01  2:18 ` [PATCH] git-svn: allow disabling expensive broken symlink checks Eric Wong
  0 siblings, 2 replies; 11+ messages in thread
From: Markus Heidelberg @ 2009-01-31 13:14 UTC (permalink / raw)
  To: git, Eric Wong

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

In 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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2009-02-05  8:04 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-31 13:14 "git svn fetch" slow Markus Heidelberg
2009-01-31 16:23 ` Sverre Rabbelier
2009-01-31 17:01   ` Markus Heidelberg
2009-01-31 17:31     ` Sverre Rabbelier
2009-02-01  2:18 ` [PATCH] git-svn: allow disabling expensive broken symlink checks Eric Wong
2009-02-02  3:03   ` Junio C Hamano
2009-02-03  4:45     ` Eric Wong
2009-02-03  6:52       ` Junio C Hamano
2009-02-03 19:10         ` Eric Wong
2009-02-05  7:42           ` Eric Wong
2009-02-05  8:02             ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).