Missing Workspace.GetShelvedChanges API method in Beta3
Hi all,
Can someone tell me what happend toWorkspace.GetShelvedChanges in TFS Beta 3.It used to be located in the Microsoft.VisualStudio.Hatteras.Client namespace in TFS Beta 2.
I can find the Workspace class in the Microsoft.TeamFoundation.VersionControl.Client.Workspace namespace but theGetShelvedChanges method no longer exists.I used that in my build script to be able to build the latest checked-in source + an additional shelveset. The only workaround I found is to unshelve on the build machine, copy the files that were unshelved in memory, undo my unshelve and overwrite the files on disk. Is there a better approach?
Thanks
Hi Buck,
I am actually using QueryShelvedChanges() but it just return you information about the shelveset (PendingSet[]), it does not actually perform a get like the GetShelvedChanges() used to do.
Is there a way to do a get of a shelved file once you get hold of the PendingSet[] returned by QueryShelvedChanges().
Thanks
I think I misunderstood. If I understand correctly now, you want to download the file that's been shelved. In the beta 3 API (and RTM as well), there's a DownloadShelvedFile() method on the PendingChange you get back from QueryShelvedChanges().
Buck