Business case: our team has an environmentOverride setting key in web.config, used for debugging purposes, and sometimes a team member will accidentally commit their web.config in with an incorrect override value, like “production” when we want it to be “beta”.
Desired outcome: I right click on my project folder, click “SVN Commit…” and have the default value of the checkbox next to “web.config” UN-checked? Right now it always checks each file by default. Maybe a property called “LeaveUnCheckedWhenTryingToCommit”=true, or something like that, would be awesome to do on individual files, like web.config.
Chances are we won’t be making many changes to web.config anyways, so this would be nice.
Thanks in advance!
—-UPDATE—-
Site that shows how to implement the solution, http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-commit.html
Changelists are what you want.
It will automatically uncheck it for you if you add the file to the special ignore-on-commit changelist, it will make it pretty damn obvious that the ‘temporary’ change is not to be included in the commit even if you add it to an arbitrary changelist. Tortoise has good support for this feature.