I have a long standing problem: at work we\'re using mercurial as a DSCM, but we can\'t figure out how to keep our config files in sync.
The problem is that we want
Put your connection strings in a different file. e.g. in web.config:
Then you have a connections.config
file with the connection strings, which you can exclude from the repository thereby letting each developer modify to their heart's content.
If you want a 'reference' version of the connections.config file just add another file connections.example.config
that is under source control, and use that as your template version.