Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm going to set up SVN repositories for multiple projects. I wonder if it's possible to set per-project limits for repository size?

share

locked by Chris S Jul 30 '12 at 13:49

This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. This question and its answers are frozen and cannot be changed. More info: help center.

1  
There is a good dupe of this over on Stack Overflow: stackoverflow.com/questions/2020490/… –  Pekka 웃 Jul 30 '12 at 13:47
comments disabled on deleted / locked posts

1 Answer

You may be able to use SVN hooks to do this. For example, perhaps you could create a pre-commit hook that won't allow the commit if the project is already over a certain size.

Here's an example of a hook to limit the size of each individual commit (not quite what you want, but it may serve as a guide for my suggestion above):

http://www.davidgrant.ca/limit_size_of_subversion_commits_with_this_hook

share
add comment

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