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

Re: Limit The size of Commit in SVN

From: Nico Kadel-Garcia <nkadel_at_gmail.com>
Date: Wed, 22 Jan 2014 22:12:59 -0500

On Wed, Jan 22, 2014 at 8:40 PM, Ryan Schmidt
<subversion-2014_at_ryandesign.com> wrote:
> On Jan 22, 2014, at 01:34, Mehboob Ahmed wrote:
>
>> Is ther any hook who wont allow user to commit in SVN whose size is greater than 1GB.it means i want to restrict user to commit less than 1GB of data in SVN. i need this hook in windows format .bat file extention please help.
>
> Yes, you could write a hook to do that.

Limit the size of individual files? Or of the changes accumulated
together of all the relevant files? Or of the difference in files?

Now, if I were thinking aobut a pre-commit script from scratch, I
might want to restrict binary files, such as *.iso, *.war, *.jar, *.o,
*.gz, *.tar, *.zip, *.a, etc., especially for what should be a source
repository. That can help prevent a lot of the accidental commits you
might see, such as compiled files in a source code repository.

Why, exactly, are you trying to limit the maximum commit size?
Received on 2014-01-23 04:13:42 CET

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