1

I have done some work on my code and shelved it, then I had to apply a patch to the code from a shelveset to get things working properly. I then had to fix something else in the code and now wish to make a shelveset, but without the patch, so I want to undo the shelveset that I applied.

Is this possible and if so, how?

Uba
  • 619
  • 3
  • 8
  • 20
Adrian
  • 10,246
  • 4
  • 44
  • 110
  • If you have a premium version, you should be able to suspend and resume you work. http://stackoverflow.com/questions/24061664/undo-local-changes-that-exist-in-a-shelveset – Uba May 21 '15 at 16:58
  • @Freesiah: came with VS2013 – Adrian May 22 '15 at 18:38

1 Answers1

3

Given the state you're currently in: No.

If the original shelveset still exists you could "undo pending changes" then reapply the original shelveset.

There is no local history available to you.

jessehouwing
  • 106,458
  • 22
  • 256
  • 341
  • It is what it is. Can't paint the picture any better. – jessehouwing May 25 '15 at 16:06
  • I ended up making a copy of my code and then undoing all of my changes. Unfortunate that you can 'unshelve' a set, but you can't 'reshelve'. I could understand if modules from the set itself had changed. But if the changes are only to modules that were not originally part of the shelve set, it should be a rather straightforward matter to backout from that code leaving your unaffiliated changes unaffected. Oh well. – ouflak Oct 20 '16 at 18:39