git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Avery Pennarun" <apenwarr@gmail.com>
To: "Eric Wong" <normalperson@yhbt.net>
Cc: "Geert Bosch" <bosch@adacore.com>,
	"Steven Grimm" <koreth@midwinter.com>,
	"git@vger.kernel.org List" <git@vger.kernel.org>
Subject: Re: Excruciatingly slow git-svn imports
Date: Mon, 5 May 2008 23:56:40 -0400	[thread overview]
Message-ID: <32541b130805052056g450b69cfg46693bc3c0c5a1ed@mail.gmail.com> (raw)
In-Reply-To: <20080506032846.GA15521@untitled>

On 5/5/08, Eric Wong <normalperson@yhbt.net> wrote:
> Interesting.  By  "These commits seemed all to have thousands of files",
>  you mean the first 35K that took up most of the time?  If so, yes,
>  that's definitely a problem...
>
>  git-svn requests a log from SVN containing a list of all paths modified
>  in each revision.  By default, git-svn only requests log entries for up
>  to 100 revisions at a time to reduce memory usage.  However, having
>  thousands of files modified for each revision would still be
>  problematic, as would having insanely long commit messages.

On my system, any branch that was created using "svn cp" of a toplevel
directory seems to cause git-svn to (rather slowly) download every
single file in the entire branch for the first commit on that branch,
giving a symptom that sounds a lot like the above "commits with
thousands of files".  I assumed this was just an intentional design
decision in git-svn, to be slow and safe instead of fast and loose.
Is it actually supposed to do something smarter than that?

Thanks,

Avery

  reply	other threads:[~2008-05-06  3:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-24 18:54 Excruciatingly slow git-svn imports Geert Bosch
2008-04-24 19:57 ` Steven Grimm
2008-04-29  7:11   ` Eric Wong
2008-05-05  4:29     ` Geert Bosch
2008-05-06  3:28       ` Eric Wong
2008-05-06  3:56         ` Avery Pennarun [this message]
2008-05-06  4:25           ` Eric Wong
2008-05-06 11:23             ` Geert Bosch
2008-04-29  7:03 ` Eric Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=32541b130805052056g450b69cfg46693bc3c0c5a1ed@mail.gmail.com \
    --to=apenwarr@gmail.com \
    --cc=bosch@adacore.com \
    --cc=git@vger.kernel.org \
    --cc=koreth@midwinter.com \
    --cc=normalperson@yhbt.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).