Discard change set, hey where'd my local project go??
:evil:
Wow, we were going to share a project in RTC from Visual Studio 2010, and once it made its initial change set we realized there was alot of old folders/code that we didn't want to add. So we read up and decided to use "Discard Change set" , go back and clean up the project, and then "share it" once it was cleaned up. Chose discard change set......The project and its files are gone. The local, original copies, ie. the source project is missing. Not in recycle bin, gone. Is there somewhere we can find the entire project at this point? (some jazz working directory? temporary place? |
3 answers
:evil:The change set still exists on the server. You can search for a recently created change set and accept it into your workspace. If you've attached it to a work item, you may accept it from there. The change set will also be closed if you're using a recent version of RTC. That is ok. You can either open another change set that builds on top of the first one or disconnect the project and discard the unwanted change set. By discarding the change set, the changes in it will be reversed. This happens to be the addition of the files once the initial share was performed. To avoid this, you can disconnect the project then discard the change set. This kind of behaviour is intended as you would want to discard a change and have your local shared content to reflect the same state as your repository workspace. |
The change set still exists on the server. You can search for a recently created change set and accept it into your workspace. If you've attached it to a work item, you may accept it from there. The change set will also be closed if you're using a recent version of RTC. That is ok. You can either open another change set that builds on top of the first one or disconnect the project and discard the unwanted change set. When I connect to the project area with another client, and look at change explorer, there is nothing there. The original user cannot go back into the Visual Studio project, because it appears it and all the files that were to be part of the change set are deleted from his local machine, which happened when he tried to discard change set. |
Just recreated it,
opened a new project in visual studio 2010 setup a test project area in RTC (2.0.0.2 iFix5) connected to rtc in Visual Studio, share project(s) with Jazz creates change set with all relevant project files(used default visual studio filters *.suo,etc.) with "add" status I rename change set title I now choose Discard "Change Set" (premise being, there are alot of old files/directories in project folders, so let's clean that up and then share it later when its cleaned up) Close out of Visual Studio, it prompts me to save the csproj file, normally I would say no, since I don't want anything changed, but I also tested saying yes, Goodbye project! If I then start up visual studio 2010, connect to RTC, drill down into the rtc project/component and "show History.." I see the named change set, What I don't understand is how this is wholesale blowing away my local project directory and files, with no means to recover when all I asked it to do was "discard a |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.