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

Re: git-svn taking a long time

From
David Kågedal <davidk@lysator.liu.se>
Date
Feb 10, 2010, 22:25 UTC
Message-ID
<873a18pw3c.fsf@krank.kagedal.org>
In-Reply-To
<87bpfxov6w.fsf@krank.kagedal.org>
David Kågedal <davidk@lysator.liu.se> writes:
Show 15 quoted lines
> Andrew Myrick <amyrick@apple.com> writes:
>
>> Give 1.7.0-rc2 a try.  It includes commit 8bff7c5383ed833bd1df9c8d85c00a27af3e5b02, which attempts to persistently cache a lot of the processing that git-svn has to do on subversion's merge tickets, which has improved my fetch times significantly.  
>
> By "merge tickets", are you talking about the merge functionality that
> appeared in subversion 1.5? We don't use that.
>
> But I had another idea. I pecularity of our subversion repo is that we
> no longer use the foo/trunk branch, but only foo/branches/*. But we did
> once upon a time have a foo/trunk. And since I didn't include a "fetch =
> foo/trunk:refs/remotes/svn/trunk" in my config, it might need to refetch
> that information every time. For instance, the first revision is on
> trunk.
>
> I'm rerunning the fetch now with the trunk added, so see if it helps.

That seems to have done the trick. Now it's quick when there is nothing to do.

Perhaps there is something in the git-svn caching that could still be improved?

-- 
David Kågedal
Previous: Andrew Myrick
Message 5 of 5 in “git-svn taking a long time”
  1. David KågedalFeb 10, 2010
  2. Andrew MyrickFeb 10, 2010
  3. David KågedalFeb 10, 2010
  4. Andrew MyrickFeb 10, 2010
  5. David KågedalFeb 10, 2010

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.