I have a pair of svn repositories which are significantly larger than others. They're not too big for svn, but they're taking a lot of disk space I'd rather be using for something else.
What strategies are available for reducing the disk use of svn repositories? I tried the "removing dead transactions" section described here but that didn't get me anywhere. What else should I try?
ETA: Is this question better asked on Server Fault?
To see disk space usage for an individual Subversion repository, click Repositories in the main navigation bar, select the checkbox for the repository and click Info. To see the disk space used by all repositories, see the Disk space chart in the Administration > Statistics page. Questions? Comments?
SVN stores a pristine copy of the base revision (i.e., the unmodified checked-out revision) of each file in the working copy. These pristine copies are known as "text bases" and are used for performing offline diffs, and for transmitting deltas back to the server when committing.
If the used disk space is more important for you than the version history, then you could make a clean checkout and reimport your projects into a new repository. The old repositories could then be stored in a compressed archive.
If you don't want to lose the complete history, then this article might be interesting for you: Delete parts of subversion history
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With