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

Re: set maximum file size for commits

From: Blair Zajac <blair_at_orcaware.com>
Date: Wed, 09 Apr 2008 20:39:46 -0700

Rares Vernica wrote:
> Hello,
>
> Is there a way to set the maximum file size for commits? That is, if I
> set the maximum file size to 4Mb and a user tries to commit a file which
> has 4.1Mb, the commit will fail.
>
> Thanks,
> Ray

You can check this in a pre-commit script. You'll need to get a list of all
added or modified files using svnlook and then cat each one.

Regards,
Blair

-- 
Blair Zajac, Ph.D.
CTO, OrcaWare Technologies
<blair_at_orcaware.com>
Subversion training, consulting and support
http://www.orcaware.com/svn/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-04-10 05:40:20 CEST

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