[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: David Weintraub <qazwart_at_gmail.com>
Date: Sun, 26 Jul 2009 14:51:06 -0400

You can use a pre-commit trigger. The issue is finding the size of a
file using svnlook. You definately can use "svnlook cat" to cat out
the file, then use something like "wc -c" to get the size of the file.

You can also try the SVN-API which may exist for the scripting
language you're using.

--
David Weintraub
David_at_Weintraub.name
Sent from my iPhone while riding in my Ferrari. (Jealous?)
On Jul 26, 2009, at 8:21 AM, Ilan Yaniv <Ilan.Yaniv_at_timetoknow.org>  
wrote:
> Hi,
>
> I have this doc files that I want to block if they exceed the size  
> of X kb.
>
> Thanks
>
> Ilan Yaniv
>
> Configuration Management
>
> Phone: 03-7534333 ext. 5561
>
> mobile: 052-2331239
>
> Ilan.Yaniv_at_timetoknow.org
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2375702
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-07-26 20:59:13 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.