You can lock the file. This will not stop someone from changing it (since they can break the lock), but it provides an additional barrier that is often enough to stop registration.
A better solution would be to write a pre-commit hook that rejects server-side registration; however, it would be very unpleasant to get people to check everything except the forbidden file, as this would mean listing a large number of files on the command line (or the gui tool).
The best solution is not to check the file, but to check the "config template" file with a similar but different name from the required one. Inside this file, you explain the need to copy the file to the correct file name (and describe which fields need to be filled in with the appropriate information). Then you add the svn ignore property for the actual configuration file. Again, someone tricky enough can cancel the ignore and check the file in the end, but it's often enough to stop everything except the most demanding system switches.
source
share