git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* speeding up git-svn when directories are copied?
@ 2007-04-23 14:16 Karl Hasselström
  2007-04-24  1:54 ` Eric Wong
  0 siblings, 1 reply; 4+ messages in thread
From: Karl Hasselström @ 2007-04-23 14:16 UTC (permalink / raw)
  To: Eric Wong; +Cc: git

When importing a whole repository, git-svn currently takes a _lot_ of
time. Almost all of it seems to be spent getting the full text of each
and every file when a tag or new branch is created.

If I remember correctly (but it was quite a while since I looked at
it), git-svnimport didn't ask the Subversion server for all the files;
it just noticed when the server said that a new directory was a copy
of an old directory, which makes them just as fast as any other commit
that doesn't change a gazillion files. (I've had an import running for
a few hours now, and have checked on it about a dozen times; every
single time, it was importing a new tag or branch. This suggests that
making these go as fast as regular commits would speed up the import
by more than a factor 10.)

Have you looked at doing this with git-svn? If it's not on your to-do
list, I might take a stab at it at some point. But I only speak the
copy-n-paste dialect of perl, so I'll need to find a largish block of
uninterrupted time first. :-)

-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle

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

end of thread, other threads:[~2007-04-26 15:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-23 14:16 speeding up git-svn when directories are copied? Karl Hasselström
2007-04-24  1:54 ` Eric Wong
2007-04-24 10:01   ` Karl Hasselström
2007-04-26 15:45     ` Eric Wong

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).