When you check in a file, and you have made no changes to it, TFS warns the user that nothing has been modified and will undo the checkout. My problem is this warning, how do you suppress this warning? The reason why i ask is that it is causing my build scripts to fail. My build script is written in vbs script and I am basing a successful checkin on 0. However when this warning comes up i get 1. Is there an option or parameter that can suppress this prompt?
Previously in VSS i had three options
- Check In. Instructs VSS to record the checkin as a new version, even if no changes to the file are detected.
- Undo Check Out. Instructs VSS to automatically undo check out on any unchanged file you try to check in.
- Ask. Instructs VSS to display a dialog box asking what you want to do for each unchanged file.
- Default. Instructs VSS to depend on the specific initialization file settings for each project. This tells VSS how to determine what to do with unchanged files.
Does TFS have anything similar to these options?