What is a Perforce “shelved” file?

From the Perforce documentation: Shelving is the process of temporarily storing work in progress on a Perforce Server without submitting a changelist. Shelving is useful when you need to perform multiple development tasks (such as interruptions from higher-priority work, testing across multiple platforms) on the same set of files, or share files for code review … Read more

How can I easily diff/compare 2 shelvesets in TFS?

I was looking for the same i.e. to compare the contents of two shelveets without needing to unshelve one of them. End up writing a Visual Studio extension for the functionality. The extension is available for Visual studio 2013 http://visualstudiogallery.msdn.microsoft.com/1fa59764-efc6-457a-a5f3-81ca68e280e8 and for Visual studio 2012 http://visualstudiogallery.msdn.microsoft.com/33c521d4-73fc-48be-969d-fa68c511341f Please feel free to use and give your feedback.

hg shelve equivalent of git stash drop

From the Mercurial shelve documentation (or using hg help shelve): To delete specific shelved changes, use “–delete”. To delete all shelved changes, use “–cleanup”. options: -d –delete delete the named shelved change(s) So if your patch was called my-patch, then you would delete it using: hg shelve -d my-patch