You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by John Pye <jo...@student.unsw.edu.au> on 2007/01/13 23:36:46 UTC

Any way to limit the size of committed files?

Hi all,

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).

Cheers
JP
-- 
John Pye
Department of Mechanical and Manufacturing Engineering
University of New South Wales, Sydney, Australia.
john.pye AT student DOT unsw.edu.au

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

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

Posted by Ryan Schmidt <su...@ryandesign.com>.
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