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

Re: Any way to limit the size of committed files?

From: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
Date: 2007-01-14 00:50:18 CET

On Jan 13, 2007, at 17:36, John Pye wrote:

> I have a subversion repository used for 'everyday work' (ie not just
> source code) that is shared by a few people, included some less
> tech-savvy people who occasionally attempt to add/commit really big
> files like uncompressed bitmaps and huge word documents and so on.
>
> Is there any way that I could easily prevent upload of files exceeding
> certain size limits? Preferably I could do this by type (I might
> want to
> permit certain types of file to be large, but not others).

Yes, you can write a pre-commit hook script to do that. Here's my
answer to someone else who asked this question two months ago:

http://svn.haxx.se/users/archive-2006-11/1416.shtml

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Jan 14 00:50:40 2007

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.