I am working on a large .NET web project, and I would like to prevent developers on the team submitting .config-files by mistake. The solution I would like to have is some sort of popup as a warning saying “Are you sure you want to commit these files?” when someone is trying to commit .config-files. It should be legal to do so, but with a warning first.
We are using Apache Subversion setup with VisualSVN Server and TortoiseSVN as svn gui client.
Is there any possibility to accomplish this?
I use a pre-commit hook script to block commits for some files unless a specific hashtag is included in the log message.
Output from the script is displayed in the Tortoise commit dialog, explaining why the commit was blocked and what hashtag to add if the developer is sure they meant to commit those files.