Receiving fork/conflict error trying to discard the file
A developer accepted a change that broke his build. We created a new change set and tried moving the file causing conflict to the new changeset, we could not move it. We tried discarding the file and we received an error that it cant discard due to a fork/conflict error. How can we fix this.
2 answers
You can use the "Reverse" operation on that change set. That will produce a patch you can accept into your workspace. If there are any changes that you want to "keep" from the original change set, just discard the part of the patch that undoes that change.,
I assume when you say "tried discarding the file", you meant "tried discarding the change set containing the change to the file"? You can use that approach, but you would have to identify the change sets that depend on that change set, discard them as well, and then reaccept the ones you want to keep, and then "replace" the configuration of the stream with the configuration in your workspace, and then warn other team members to discard outgoing change sets that they did not create ... So I do not recommend that approach for your case.
I assume when you say "tried discarding the file", you meant "tried discarding the change set containing the change to the file"? You can use that approach, but you would have to identify the change sets that depend on that change set, discard them as well, and then reaccept the ones you want to keep, and then "replace" the configuration of the stream with the configuration in your workspace, and then warn other team members to discard outgoing change sets that they did not create ... So I do not recommend that approach for your case.
Comments
Hi Nanette,
Here is an article about conflict resolution with Jazz SCM:
https://jazz.net/library/article/39
Some more information in the info center with a few options:
https://jazz.net/help-dev/clm/index.jsp?re=1&topic=/com.ibm.team.scm.doc/topics/t_scm_conflict_content.html&scope=null
Hope this helps.