You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jon Bendtsen <jo...@laerdal.dk> on 2005/09/15 15:28:30 UTC

du for subversion?

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.




JonB


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: du for subversion?

Posted by Joshua Varner <jl...@gmail.com>.
On 9/15/05, Jon Bendtsen <jo...@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