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