How to block files by extension in SVN

Asked

Viewed 100 times

1

I need to create a hook in SVN, pre-commit that blocks any files that are with extension ". rar" and ". zip".

And display a message like " The commit has been locked, this type of file cannot be added." (example)

  • Why not use svn ignore instead?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.