3

I checked-in some changes by mistake. Now the changes are in the outgoing changes, but I don't want them to deliver. How can I return them back to the unresolved? If I discard them they vanished from my source code and I lost my work.

HPCS
  • 1,434
  • 13
  • 22
  • 1
    You can check in changes without delivering them. If you want to reverse the check in, make a copy of your changed source code, discard the changes, then reapply the changes to your source code. – Gilbert Le Blanc Apr 09 '13 at 19:05

2 Answers2

4

You can still discard the change set: see this thread.

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.

(hence the removal of those files)

To avoid this, you can disconnect the project then discard the change set.

(when you disconnect the project, select the option which don't delete the local files)

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.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
-2

You should be able to simply drag & drop files from Outgoing Change Set to Unresolved in the Pending Changes view. Then you can reuse the Change Set for some other changes.

This will work only until you mark the Change Set as Complete.

javadeveloper
  • 321
  • 1
  • 8
  • When a file is checked-in from unresolved folder, it will reside in outgoing. Hence unresolved folder will not be available unless there is some another unresolved file available. – GC 13 Mar 24 '15 at 06:28