New file in sandbox - is it in conflict with incoming change-set (using Java API)
Hello to the forum members,
I have a new file which was delivered into stream. I create in another workspace in the same path a file with the same name. I have IShareable of my created file. Suppose I have also the incoming IChangeSet of the delivered file. How do I know these files represent the same item and are in conflict ?
Thanks,
Gidi
One answer
Comments
Hi Shashikant,
When I'm trying to deliver a change-set with new file which is in future-conflict with incoming change-set - I will get error:
"Cannot deliver changes since they would create conflicts for component 'Component 'CmpA''. Try accepting all incoming changes, resolve the conflicts, then deliver again."
I am automating deliver operation in an extension I develop. I need to identify such a future conflict so I can avoid calling deliver and so I can alert my users about this issue.
Is there a public API to identify this future conflict ?
Thanks,
Gidi