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

git svn .git/svn/*/index files taking up huge amounts of disk space

From
Robert Zeh <robert.a.zeh@gmail.com>
Date
Jul 18, 2009, 14:58 UTC
Message-ID
<CFF1FF99-9237-4C89-BB2D-66F82CF683B1@gmail.com>

I have recently imported a Subversion repository with 1.6.4.rc0.17.gd9eb0, and ran into an interesting tidbit. The .git/svn directory is the largest directory, taking up about twice as much space as the .git/objects directory.

Most of the space is taken up by index files under .git/svn under .git/ svn/tag or .git/svn/<branch name> directories in the subversion tree.

The repository uses the normal Subversion layout (trunk/tags/branches) and was setup with git svn init -s. There are a lot of tags in the repository - about one per day for the past several years.

What are the index files under .git/svn used for? Am I doing anything wrong? Can the index files under .git/svn be safely removed? My brief look at git-svn.perl makes me think that they are temporary, but I'm not sure.

Thanks, Robert

Next: Peter Harris
Message 1 of 2 in “git svn .git/svn/*/index files taking up huge amounts of disk space”
  1. Robert ZehJul 18, 2009
  2. Peter HarrisJul 18, 2009

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.