On 9/15/05, Jon Bendtsen <jon.bendtsen@laerdal.dk> wrote:
> Hi
>
> I would like to see how much space a file or subdir takes in
> subversion. This means the initial file size of the first version and
> then the diffs for each version? For a subdir it should be recursive
> ofc.
>
> Just asking each version for it's size is not good enough, because
> every bit in the file might change from version to version.
>
This is not a simple thing to do. It varies by the backend, and for
fs it would involve looking through every revision file to find the
size of the diffs. For bdb, it would probably be simpler, but this type
of information is purposely hidden in the fs libraries.
http://svnbook.red-bean.com/en/1.1/ch05s03.html
has a Managing Disk Space section, but that is per
repository.
Josh
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 16 01:47:19 2005