On Wed, Jan 22, 2014 at 8:40 PM, Ryan Schmidt
<subversion-2...@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?

Reply via email to