Hallo,

is it possible to limit the file size for commits in subversion server?

Some guys upload large swf files in the subversion repository. I would like to limit the file size to 30 MB.

Thanks Igor

link|improve this question
feedback

1 Answer

up vote 0 down vote accepted

You just need to add a pre-commit hook on the Subversion repository. See this page for a good start on that.

link|improve this answer
Thanks. This gives a direction. But this doesn't solve my problem, because I can't code python. Someone has a ready pre-commit hook script for this case? – iimuhin Jun 28 '10 at 16:18
beaversource.oregonstate.edu/projects/admin/browser/management/… should do what you want. It's still Python, but it shouldn't need much editing. Between this and the other page I linked to you should be well on your way. – kaerast Jun 28 '10 at 17:32
thanks you very much – iimuhin Jun 30 '10 at 11:16
this seems to need pysvn – cherouvim Aug 25 '10 at 7:36
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.