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

Re: Size of SVN Transaction vs Actual commit size

From: Daniel Becroft <djcbecroft_at_gmail.com>
Date: Fri, 7 May 2010 20:48:02 +1000

On Fri, May 7, 2010 at 8:26 PM, Ravi Roy <ravi.aroy_at_gmail.com> wrote:
>
>
> On Fri, May 7, 2010 at 3:33 PM, Olivier Sannier <obones_at_free.fr> wrote:
>>
>> Ravi Roy wrote:
>>>
>>> Actual commit size is 1.28 MB and this script gives me 5528 bytes.
>>>  Something wrong with script or there is compression involved or what ?
>>
>> Well, reading the book could have told you that this is expected:
>>
>>
>> http://svnbook.red-bean.com/nightly/en/svn.reposadmin.maint.html#svn.reposadmin.maint.diskspace.deltas
>
>
>
> Thanks Olivier; but this is just abstract view; I want to compute the
> transaction size based on some predefined value (say 5 MB) and allow commit
> to the repository if transaction size (in case new file commit) is less than
> or equal to this size.

Have a look into 'svnlook changed' and 'svnlook cat' commands.

Cheers,
Daniel B.
Received on 2010-05-07 12:48:55 CEST

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.