Our need is to store only axcrypted (.AXX) documents in an SVN repository, and we want to prevent accidental uploading of the non-encrypted documents. Is there a way to do this on SVN server?

We would like to enforce this .AXX only policy on server-side of the SVN, so we don't have to rely on the ignore list of all our SVN clients.

link|improve this question

feedback

1 Answer

up vote 1 down vote accepted

I believe that you can do this with a pre-commit hook, an example in Python is here. Instead of checking files for tabs, you could look at their extensions, and return a non-zero exit code if you want to abort the transaction.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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