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

Re: How to block files if the exceed number

From: Ryan Schmidt <subversion-2009b_at_ryandesign.com>
Date: Sun, 26 Jul 2009 07:32:04 -0500

On Jul 26, 2009, at 07:21, Ilan Yaniv wrote:

> I have this doc files that I want to block if they exceed the size
> of X kb.
>

You would write a pre-commit hook script on the server. In it, you
would use svnlook to get a copy of each file in the transaction, and
if it is took big, exit from the hook script with a nonzero status
code and print an error message.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2375644

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-07-26 14:33:04 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.