git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: speeding up git-svn when directories are copied?

From
Karl Hasselström <kha@treskal.com>
Date
Apr 24, 2007, 10:01 UTC
Message-ID
<20070424100100.GA23811@diana.vm.bytemark.co.uk>
In-Reply-To
<20070424015405.GA7232@untitled>
On 2007-04-23 18:54:05 -0700, Eric Wong wrote:
Show 13 quoted lines
> Karl Hasselström <kha@treskal.com> wrote:
>
> > 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.
>
> Try SVN 1.4.3 with my patch[1] to get do_switch() working. trunk
> should work without the patch.
>
> [1] - http://svn.haxx.se/dev/archive-2007-01/0936.shtml
>
> do_switch() is broken otherwise, and do_update() is extremely
> inefficient.

Thanks for the help. I applied your patch to a clean 1.4.3 tree, and built subversion itself plus the perl bindings. But git-svn is still slow, and the testcase you gave in that thread still fails.

(I'm pretty sure that I'm actually using the bindings I've built; I install them to a nonstandard location, so if I don't set PERL5LIB they aren't found at all, and perl complains. When I do set it to my patched bindings, perl accepts it but your testcase fails.)

-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle
Previous: Eric WongNext: Eric Wong
Message 3 of 4 in “speeding up git-svn when directories are copied?”
  1. Karl HasselströmApr 23, 2007
  2. Eric WongApr 24, 2007
  3. Karl HasselströmApr 24, 2007
  4. Eric WongApr 26, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.