When I Undo Checkout on a Project or Solution, any Deleted files are still showing as Pending Delete in Vault, and Get Latest from VS 2008 won't get them, I have to Get Latest from within Vault.
1. Start with a Solution completely checked-in to vault.
2. Delete a file.
3. Undo Checkout at Solution or Project level.
4. Notice warning icon next to deleted file after Reload.
I'm running the current version...
[3/7/2008 9:51:34 AM] Version Check: This Vault client is version 4.1.0.16216
[3/7/2008 9:51:34 AM] Version Check: Your Vault server is version 4.1.0.16216
[3/7/2008 9:51:34 AM] Version Check: The following information was retrieved from the SourceGear website. No information was sent to SourceGear. You can disable this part of the version check from the Options dialog.
[3/7/2008 9:51:34 AM] Version Check: The most recent Vault release is version 4.1.0.16216
And I'm using VS 2008
Microsoft Visual Studio 2008
Version 9.0.21022.8 RTM
Microsoft .NET Framework
Version 3.5
Installed Edition: Professional
Microsoft Visual Basic 2008 91605-031-5000002-60564
Microsoft Visual Basic 2008
Microsoft Visual C# 2008 91605-031-5000002-60564
Microsoft Visual C# 2008
Microsoft Visual C++ 2008 91605-031-5000002-60564
Microsoft Visual C++ 2008
Microsoft Visual Studio 2008 Tools for Office 91605-031-5000002-60564
Microsoft Visual Studio 2008 Tools for Office
Microsoft Visual Web Developer 2008 91605-031-5000002-60564
Microsoft Visual Web Developer 2008
Crystal Reports AAJ60-G0MSA4K-68000CF
Crystal Reports Basic for Visual Studio 2008
Oracle Developer Tools for Visual Studio 11.1.0.6.20
Oracle Developer Tools for Visual Studio Copyright (c) 2005, 2007
SourceGear Vault Visual Studio Enhanced Client 4.1.0.16216
SourceGear Vault Visual Studio Enhanced Client
Undo Checkout doesn't work well with Deleted files
Moderator: SourceGear
Works great for me
I've actually been really impressed with how Deleted files are put in the pending changes, and I'm unable to undo literally everything without any manual operations.
What I do differently than you, though, is I selected all the changes in the Pending Changes window rather than undoing the checkout on the solution in solution explorer. Maybe you could try that.
What I do differently than you, though, is I selected all the changes in the Pending Changes window rather than undoing the checkout on the solution in solution explorer. Maybe you could try that.
Undo Check Out (via right-click in the solution explorer) is not functionally equivalent to deleting items from the pending changes window. This is primarily a result of our attempt to straddle the fence between what people expect, coming from MSSCCI, and what we think is The Right Thing. If you think we failed here, I'd probably agree.
In short, Undo Check Out only undoes actions that go along with a Check Out. You don't have to check out a file to delete it, so an undo check out doesn't undo a delete.
I don't think the current behavior is particularly intuitive. There is already a bug logged to address this, without abandoning the original goal: do The Right Thing but don't do something totally unexpected by users familiar only with MSSCCI.
Nihimon, you can accomplish what you're trying to do by removing the pending deletes from the pending changes window. The files will come back. In most cases, however, you still have to re-include them in the project from which they were deleted.
In short, Undo Check Out only undoes actions that go along with a Check Out. You don't have to check out a file to delete it, so an undo check out doesn't undo a delete.
I don't think the current behavior is particularly intuitive. There is already a bug logged to address this, without abandoning the original goal: do The Right Thing but don't do something totally unexpected by users familiar only with MSSCCI.
Nihimon, you can accomplish what you're trying to do by removing the pending deletes from the pending changes window. The files will come back. In most cases, however, you still have to re-include them in the project from which they were deleted.
Ian Olsen
SourceGear
SourceGear