We just had a developer do a Commit All rather than a Shelve All. All of the checkins we'd like to undo were part of the same checkin transaction. No labels were applied and no shelves were made. Is there a way, using the Vault Client or the admin tool, to undo a checkin operation? We just want it to be as if he never checked it in as far as the server is concerned. This would be easy if it were one file, but there are hundreds.
As a bonus, is there a way to return his computer to the state where all of the files are checked out and he still has all of the changes he made?
Thank you.
Undo checkin operation
Moderator: SourceGear
Undo checkin operation
Vault 5.0, Visual Studio 2010, Enhanced Client
Re: Undo checkin operation
I think I can get you back to where you need to be, but it takes a few steps.
1) Have the user make a copy of his working folder as it is now that includes the changes that were accidentally checked in.
2) Use the instructions here, http://support.sourcegear.com/viewtopic ... 13&t=12594, to roll back to the last parent folder version that contains all his changes.
3) After the rollback, have the user check out what he needs to.
4) The user should now drop the copy of the files with his changes into his working folder and let them overwrite his checked out versions.
The oopss is still in history, but it shouldn't affect anything. If you want users to know this is an oops, you can change the check-in comment to say something about this being a mistaken check-in.
1) Have the user make a copy of his working folder as it is now that includes the changes that were accidentally checked in.
2) Use the instructions here, http://support.sourcegear.com/viewtopic ... 13&t=12594, to roll back to the last parent folder version that contains all his changes.
3) After the rollback, have the user check out what he needs to.
4) The user should now drop the copy of the files with his changes into his working folder and let them overwrite his checked out versions.
The oopss is still in history, but it shouldn't affect anything. If you want users to know this is an oops, you can change the check-in comment to say something about this being a mistaken check-in.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support