Enhanced Client forces check-out on change of renegade file
Moderator: SourceGear
Enhanced Client forces check-out on change of renegade file
I am using the Enhanced Client in VS2008. (Vault V4.1.1) Our team uses the full VSS mode (Require exclusive lock, etc.) and I've asked to change but no dice. Under the original client I could renegade a file by marking it writable via Explorer and modify it, either for experimentation or to merge later if it was checked out. Under this client, it forces a check out (or tries) when you modify the file. Is there a setting or some way to inform the client that it should just allow me to change the local copy and I'll handle the check-in/check-out?
One example of this is for the App.config. The checked in version has a connection string setup but for testing I like to renegade the file and comment out the official string and add others to experiment with or test with. (I'm not talking about unit tests here, more like running code against a copy of the database or a different staging server to replicate issues.) The only technique I've found is to make the change and then undo checkout with the Leave option. This works, but sometimes I get in a hurry and forget, thereby leaving it locked for the others.
One example of this is for the App.config. The checked in version has a connection string setup but for testing I like to renegade the file and comment out the official string and add others to experiment with or test with. (I'm not talking about unit tests here, more like running code against a copy of the database or a different staging server to replicate issues.) The only technique I've found is to make the change and then undo checkout with the Leave option. This works, but sometimes I get in a hurry and forget, thereby leaving it locked for the others.
Glenn Taylor
The exact steps are: In Explorer I find the file (or use the right-click on the tab of the open file) and use properties to write-enable the file. The Solution explorer shows the renegade flag. I click in the file and make a change and the Solution Explorer immediately changes to the checkmark and shows as checked out. If it happens to be a file that was exclusive to someone else, I get an error message stating that and it refuses to make my changes.
Glenn Taylor
With the enhanced client in VSS mode, there currently isn't a way to do what you are wanting. Your options for that would be to work in CVS mode or for the entire team to switch to the Classic Client. You can jump back and forth between CVS mode and VSS mode.
I can take a feature request to have the ability to not have automatic checkouts in VSS mode in the Enhanced Client if you want.
I can take a feature request to have the ability to not have automatic checkouts in VSS mode in the Enhanced Client if you want.