Remove changeset via the command line
I've looked through the documentation and searched this forum but can't seem to find out how to remove a changeset from a workspace via the command line (not in eclipse).
When I run the 'scm discard' command, it successfully removes the changeset. However, if I then run a 'scm status' it lists the changeset as incoming and the next accept adds the changeset back in. Am I missing a step(s) or is this functionality not supported in the command line? I'm running on OS/X with beta version 2.0.2 Thanks in advance. |
One answer
The discard will discard the change set from your workspace but the change set still exists in stream. This is the reason it is shown as incoming. If you want to discard the change set from the stream, you can replace the stream's component that has the change set with the component in your workspace. This will bring them back in sync but according to what is in your workspace.
I don't think this is supported with the command line though. I've looked through the documentation and searched this forum but can't seem to find out how to remove a changeset from a workspace via the command line (not in eclipse). |
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.