Possible Duplicate:
Is it possible to ignore local changes to a tracked file on a long term basis?
We have a file that contains all our connection strings for the application that is in version control. This file gets changed on a per developer basis. It needs to be versioned so when a new copy of the repository is cloned it exists but all changes to it on the developers machine need to be ignored. I've tried adding it to the .hgignore file but that's not working and I can't seem to find another solution. Any help would be appreciated.