SVN pre-commit hook for avoiding changes to tags subdirectories
Is there anybody who has clear instructions on how to add a pre-commit hook that avoids changes to tags subdirectories? I already searched the internet quite a bit. I found this link: SVN::Hooks::DenyChanges , but I can't seem to compile things. I don't have enough reputation to "comment" on Raim's answer above, but his worked great, with one exception, his grep pattern is wrong. I simply used the below as my pre-commit hook (I didn't have an existing one, you'd need to merge in that case): #!/bin/sh REPOS="$1" TXN="$2" SVNLOOK=/opt/local/bin/svnlook # Committing to tags is not allowed