[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: du for subversion?

From: Joshua Varner <jlvarner_at_gmail.com>
Date: 2005-09-16 01:45:50 CEST

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

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.