On Fri, May 7, 2010 at 8:26 PM, Ravi Roy <ravi.a...@gmail.com> wrote:
>
>
> On Fri, May 7, 2010 at 3:33 PM, Olivier Sannier <obo...@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.

Reply via email to