There are situations where as part of development environment setup, certain files are distributed with default settings and these files are checked in to svn. But we do not want the users to commit local modifications to these files accidentally.
Is there a way possible in svn to do this? I am aware that svn:ignore does not work on files that are already checked in. Or is there a different practice to achieve the same results?
The usual approach is completely omit such file (via
svn:ignore) and commit a template instead. The user is expected to copy the template and tweak the copy to his liking:http://subversion.apache.org/faq.html#ignore-commit