How to move a file from outgoing changeset back to unresolved?
Hi guys,
I've searched around but haven't found a useful answer yet... I've mistakenly added a modified file into a changeset. It's a meta file which I don't want to check in, nor do I want to simply ignore it. So how can I just move it back to unresolved meanwhile keep the modification to that file in workspace?
Accepted answer
I was hoping to find something cool for your, like just drag it back to Unresolved -- but no such luck. Associating the file with a change set checks it in, so your server-side workspace now has the updated copy. That check-in needs to be undone.
The easiest way I found was to use the context menu to Move the file to a new changeset (this gets it out of the one you mistakenly added it to). Open the file in the editor and copy the contents (this may not be necessary, depending on previous file history). Discard the new change set. The opened file may revert an earlier state. Replace the contents that you just copied out. Save the file -- it will reappear in Unresolved.