It's all about the answers!

Ask a question

Question on reverting change sets


suresh k (11159) | asked Feb 18 '15, 4:36 a.m.
converted Feb 18 '15, 9:35 a.m. by Evan Hughes (2.4k1218)
 An additional question relevant to beforeState() and afterState():
Assume a.txt has three changesets CS1,CS2,CS3.When I tried to revert CS2 with beforeState ,Can see only CS1 on a.txt and afterState keep all the changesets CS1,CS2 and CS3. Here I'm looking for option to remove only CS2 if there is no code dependencies.

I know the option through UI that revert the selected changeset with patch been created and wanted to check similar options through API.In other words revert on CS2 should delete only CS2 and retain CS1 ,CS3.

Should able to use RTC tuto resolve if changesets applied on different line of code othewise display conflict message.

One answer



permanent link
Evan Hughes (2.4k1218) | answered Feb 18 '15, 9:40 a.m.
JAZZ DEVELOPER
If there are no code dependencies (ie, CS3 doesn't modify any of the items that CS2 modifies), then you can create a new change set that reverts CS2. 

Your answer


Register or to post your answer.