Skary
Skary

Reputation: 1362

Investigate about vanished shelveset

As stated in the title, in the last few day i lost a shelveset. I successfully archived it friday, and then was unable to find it the next monday. It litterally vanished.

Now i'm tring to find a way to retrieve it, or if it's not possible, at least to dig into TFS log to figure out what happened.

Upvotes: 0

Views: 152

Answers (1)

PatrickLu-MSFT
PatrickLu-MSFT

Reputation: 51183

To find a shelveset

  1. In Team Explorer, choose Home, and then choose Pending Changes.
  2. Choose the Actions link, and then choose Find Shelvesets.
  3. On the Find Shelvesets page, enter the name or alias of a project team member in the box, and then choose the Enter key.

enter image description here

Besides, you could also check it in database. Shelvesets are stored as workspaces in tbl_Workspace with the type = 1.

The following SQL will show you all of your shelvesets:

use TfsVersionControl;

select  * from tbl_workspace where type = 1

If you are still not able to find that shelveset from database, afraid you didn't archived successfully or there was something wrong when you archived it.

Upvotes: 1

Related Questions