git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-svn init/fetch: wow that's slow
@ 2009-04-22  7:40 Lachlan Deck
  2009-04-22  9:55 ` Sverre Rabbelier
  0 siblings, 1 reply; 4+ messages in thread
From: Lachlan Deck @ 2009-04-22  7:40 UTC (permalink / raw)
  To: git

Hi there,

I've just finished checking out a project that has some 5700 odd  
commits (with some 15 branches, and 40-50 tags) and it's taken 4 days  
to complete! Woah - that was testing my patience :-)

Okay, so I'm using git 1.6.2. I assume this is all a 'known issue'.  
Has there been any work / plans towards improving this?
Thanks.

with regards,
--

Lachlan Deck

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

* Re: git-svn init/fetch: wow that's slow
  2009-04-22  7:40 git-svn init/fetch: wow that's slow Lachlan Deck
@ 2009-04-22  9:55 ` Sverre Rabbelier
  2009-04-22 11:05   ` Sam Vilain
  0 siblings, 1 reply; 4+ messages in thread
From: Sverre Rabbelier @ 2009-04-22  9:55 UTC (permalink / raw)
  To: Lachlan Deck; +Cc: git

Heya,

On Wed, Apr 22, 2009 at 09:40, Lachlan Deck <lachlan.deck@gmail.com> wrote:
> Okay, so I'm using git 1.6.2. I assume this is all a 'known issue'. Has
> there been any work / plans towards improving this?

This can be improved by using svn 1.5's delta feature, however, Eric
(the author of git-svn) does not have the time to do this, and no-one
has stepped up to do this.
A workaround is to not clone from r1 but instead start at a more
recent revision.

-- 
Cheers,

Sverre Rabbelier

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

* Re: git-svn init/fetch: wow that's slow
  2009-04-22  9:55 ` Sverre Rabbelier
@ 2009-04-22 11:05   ` Sam Vilain
  2009-04-22 11:16     ` Matthieu Moy
  0 siblings, 1 reply; 4+ messages in thread
From: Sam Vilain @ 2009-04-22 11:05 UTC (permalink / raw)
  To: Sverre Rabbelier; +Cc: Lachlan Deck, git

On Wed, 2009-04-22 at 11:55 +0200, Sverre Rabbelier wrote:
> Heya,
> 
> On Wed, Apr 22, 2009 at 09:40, Lachlan Deck <lachlan.deck@gmail.com> wrote:
> > Okay, so I'm using git 1.6.2. I assume this is all a 'known issue'. Has
> > there been any work / plans towards improving this?
> 
> This can be improved by using svn 1.5's delta feature, however, Eric
> (the author of git-svn) does not have the time to do this, and no-one
> has stepped up to do this.
> A workaround is to not clone from r1 but instead start at a more
> recent revision.

Fetching over plain svn:// is IME much faster.  But let's face it, SVN
is no race-horse and was never designed for the case where people like
to look at their history much.  Developing with a trunk was so painful,
people would rather just forget... 

One workaround is to use SVK to do the initial mirroring, and the
--use-svm-mirror flag to convert your SVK mirror path to git.  See
http://utsl.gen.nz/talks/git-svn/intro.html for a guide for the second
part of that.  SVK has implemented some of the harder parts of the SVN
API to get right, such as request pipelining - see
http://code.bestpractical.com/svk/trunk/lib/SVK/Mirror/Backend/SVNRaPipe.pm for how the SVN API "supports" this.  As a result of this dedication to the cause, SVK does this part very quickly.

Sam

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

* Re: git-svn init/fetch: wow that's slow
  2009-04-22 11:05   ` Sam Vilain
@ 2009-04-22 11:16     ` Matthieu Moy
  0 siblings, 0 replies; 4+ messages in thread
From: Matthieu Moy @ 2009-04-22 11:16 UTC (permalink / raw)
  To: Sam Vilain; +Cc: Sverre Rabbelier, Lachlan Deck, git

Sam Vilain <sam@vilain.net> writes:

> One workaround is to use SVK to do the initial mirroring, 

Probably svnsync can help here too. Dunno whether it's gonna be
faster ...

-- 
Matthieu

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

end of thread, other threads:[~2009-04-22 11:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-22  7:40 git-svn init/fetch: wow that's slow Lachlan Deck
2009-04-22  9:55 ` Sverre Rabbelier
2009-04-22 11:05   ` Sam Vilain
2009-04-22 11:16     ` Matthieu Moy

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