Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Auto Resolve Problems

This is a more concise re-post of https://jazz.net/forums/viewtopic.php?t=11181

I am working on a tool that will automate merging between two streams. As part of this I would like to have the option to allow for conflicts that are 'auto resolvable' to be resolved without user intervention. I have been working with the IAutoResolveConflictsOperation which should be the proper operation for handling this task. In my testing I have come across a conflict that is of the kind ILogicalChange.CONFLICTED_CHANGE that my code is unable to resolve. However, if I use the 'Auto Resolve' command from the pending changes view it is able to resolve the conflict. I have done some debugging and it seems that everything is in order up until a call to getAffectedCFA(), or affected copy file area. That method returns an empty list for my conflict and nothing is resolved. Am I missing an initialization step? Do I need to set up a copy file area? How would I go about doing that? In more general terms, how can I fully replicate the 'Auto Resolve' command?

Thanks for your time,
-Dave

0 votes



2 answers

Permanent link
Any advice out there? We do this (programmatic auto merge of streams) routinely using ClearCase.

0 votes


Permanent link
This is probably way too late to be useful, but I would suggest avoiding the programming APIs as much as possible and using higher level interfaces, like the command line.

If there are limitations that prevent the use of the command line, I'd rather see those addressed than users digging into APIs.

e

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Jun 22 '10, 9:10 a.m.

Question was seen: 5,876 times

Last updated: Jun 22 '10, 9:10 a.m.

Confirmation Cancel Confirm