I discovered that Team Foundation (tf) has a rollback command. So I used
> tf rollback ...from the command line.
Then, I found the setting in Visual Studio to propmt on check-in.
Menu:
Tools > OptionsOptions dialog:
Source Control > Visual Studio Team Foundation Server > Prompt before check-in from Pending Changes windowI checked the option. And now I get a confirmation before checking in.
The cool thing is that the change type in history shows 'edit, rollback'. I also updated the initial changeset's comment to include a note about the rollback and the rollback changeset id.
No comments:
Post a Comment