It's all about the answers!

Ask a question

How to undo "Change set accept"?


Han Jie (10120) | asked Dec 26 '07, 8:37 p.m.
According to the jazz document:
If an accepted change is causing problems in your workspace, you can Remove it, which unloads it from the local workspace, removes it from the repository workspace, and returns it to the Incoming folder, effectively undoing the Accept operation that added it to your workspace.

But I can not find this function.
How to undo "Change set accept"?

6 answers



permanent link
Aaron Cohen (8207851) | answered Dec 26 '07, 10:48 p.m.
JAZZ DEVELOPER
You can reverse the change from the History view.

hanjie_siemens wrote:
According to the jazz document:
If an accepted change is causing problems in your workspace, you
can Remove it, which unloads it from the local workspace, removes it
from the repository workspace, and returns it to the Incoming folder,
effectively undoing the Accept operation that added it to your
workspace.

But I can not find this function.
How to undo "Change set accept"?

permanent link
Han Jie (10120) | answered Dec 27 '07, 3:49 a.m.
You can reverse the change from the History view.


U mean in the "history view", select the change set and click "reverse"?
the operation will create a reverse change-set, which will be sent to "outgoing" folder.

But this is not the same as the document description.
"the original change-set will be removed from repository and the sent back to the "incoming" folder.

permanent link
Dmitry Karasik (1.8k11) | answered Dec 27 '07, 4:19 a.m.
JAZZ DEVELOPER
But this is not the same as the document description. "the original
change-set will be removed from repository and the sent back to the
"incoming" folder.

You can accomplish this with the "Discard" action.

- Dmitry

permanent link
Geoffrey Clemm (30.1k33035) | answered Dec 27 '07, 1:28 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Yes, the documentation should say "Discard", not "Remove". There is
also a variant of Discard called "Suspend", which has the same semantics
as "Discard" except that the change-set is also added to the "Suspended"
folder of your workspace. In general, you should "suspend" change-sets
that you created in the workspace (as opposed to ones you have gotten
via "Accept"), so that they are easy to get back.

Also note that the this quotation abbreviated the documentation in a
potentially misleading way. The documentation (as originally quoted in
this thread) states:

"If an accepted change is causing problems in your workspace, you
can Remove it, which unloads it from the local workspace, removes it
from the repository workspace, and returns it to the Incoming folder,
effectively undoing the Accept operation that added it to your
workspace."

In particular, the change-set is removed from "the repository
workspace", not "the repository".

Cheers,
Geoff


Dmitry Karasik wrote:
But this is not the same as the document description. "the original
change-set will be removed from repository and the sent back to the
"incoming" folder.

You can accomplish this with the "Discard" action.

- Dmitry

permanent link
Han Jie (10120) | answered Dec 27 '07, 10:24 p.m.
But anyway, the change-set removed(or reserved, discard) will not go back to the "incoming" folder.
And in fact, this is the function I want.
Because, I can not know the change-set is good or not before I accept it.
And after I accept several change-sets, if there are some problems. I have to remove one or some of them, so that I can find where is the exact problems.

permanent link
Geoffrey Clemm (30.1k33035) | answered Dec 28 '07, 9:18 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
If it is a change set that was accepted from your Incoming folder, then
discarding it will cause it to reappear in your Incoming folder. If the
change set was a new one that you created in the workspace (or accepted
from somewhere other than the Incoming folder), then you will want to
"suspend" the change set. That places it in the Suspended set of your
workspace, so it is easy to find it (and Resume it) later. A "Resume"
on a suspended activity is analogous to an Accept of an incoming
activity, in that it is the way of applying that change set to the
current configuration of your repository workspace.

Cheers,
Geoff

hanjie_siemens wrote:
But anyway, the change-set removed(or reserved, discard) will not go
back to the "incoming" folder.
And in fact, this is the function I want.
Because, I can not know the change-set is good or not before I accept
it.
And after I accept several change-sets, if there are some problems. I
have to remove one or some of them, so that I can find where is the
exact problems.

Your answer


Register or to post 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.