Svn on commit, web.config UN-checked by default - is there any way to do this?

Business example : our team has an environmentOverride configuration key in web.config used for debugging purposes, and sometimes a team member accidentally passes their web.config file with the wrong override value, for example, โ€œproductionโ€ when we want it to be โ€œbetaโ€ "

Desired result : I right-click on the project folder, click "SVN Commit ..." and does the default value of the checkbox opposite "web.config" UN-checked? Now it always checks every file by default. Perhaps a property called "LeaveUnCheckedWhenTryingToCommit" = true, or something like that, would be great to do in separate files like web.config.

Most likely, we will not make many changes to web.config, so that would be nice.

Thanks in advance!

---- UPDATE ----

The site that shows how to implement the solution is http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-commit.html

+4
source share
2 answers

Changelists are what you want.

It will automatically disable it for you, if you add the file to a special list of ignore-on-commit changes, it will be pretty damn obvious that a โ€œtemporaryโ€ change should not be included in the commit, even if you add it to an arbitrary change list. The turtle has good support for this feature .

+3
source
0
source

Source: https://habr.com/ru/post/1333085/


All Articles