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

Re: git-svn: .git/svn disk usage

From
KWKelvie Wong <kelvie@ieee.org>
Date
Dec 3, 2007, 06:53 UTC
Message-ID
<94ccbe710712022253t3b1834bcs9facbf34717c7faa@mail.gmail.com>
In-Reply-To
<20071203064603.GA18583@old.davidb.org>
I'm going to have to say this is due to the unhandled.log as well.
Just gzip -9 it (AFAIK it's not used for anything, but keep it just in case).
On Dec 2, 2007 10:46 PM, David Brown <git@davidb.org> wrote:
Show 34 quoted lines
> On Mon, Dec 03, 2007 at 07:37:51AM +0100, Pascal Obry wrote:
> >Ollie,
> >
> >> I'm curious if other developers have run into this issue.  If so, are
> >> there any proposals / plans for improving the storage of git-svn
> >> metadata?
> >
> >Did you run "git gc" after importing code form the subversion
> >repository? On my side I found that it has reduced drastically the size
> >of the local Git repository.
>
> I think the original poster is probably finding the space in the .git/svn
> directory.  'git-svn' keeps an index file for every branch in SVN.
>
> I suspect it does this for speed, at least on a large import, since the SVN
> commits will come across numerically, affecting the branches out of order.
>
> However, the index could fairly easily be extracted from git (since that is
> what it normally does).  In this case, where all of the indexes take
> significant space if this is worth it.
>
> Ollie, if you look in these svn branch directories, is most of the space
> taken up with files called 'index'?
>
> Browsing through the few svn clones that I have, the space seems to be
> roughly split between 'index' files and 'unhandled.log' files.
>
> Dave
>
> -
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
-- 
Kelvie Wong
Previous: David BrownNext: Ollie Wild
Message 4 of 10 in “git-svn: .git/svn disk usage”
  1. Ollie WildDec 3, 2007
  2. Pascal ObryDec 3, 2007
  3. David BrownDec 3, 2007
  4. Kelvie WongDec 3, 2007
  5. Ollie WildDec 3, 2007
  6. Karl HasselströmDec 4, 2007
  7. David VoitDec 3, 2007
  8. Eric WongDec 5, 2007
  9. Steven GrimmDec 5, 2007
  10. Eric WongDec 6, 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.