It's all about the answers!

Ask a question

How to set working copy folder on local PC and override files to SCM with Plain Java API?

Nghia Le (111) | asked Dec 06 '16, 5:25 a.m.
In our requirement, we need to push file to SCM by Plain Java code.
I can able to push a test file to SCM now, but when i push the same file the conflict was happen.

Do you have any possible way to do that?

Many thanks.

One answer

permanent link
Ralph Schoon (62.0k33643) | answered Dec 06 '16, 5:45 a.m.
 This explains how this works in general:

If you have conflicts on delivery, I don't have an idea how to solve that. You likely have to do a compare first, get a list of conflicts and then to resolve it with your file. Maybe looking at the merge editor in Eclipse can provide you with an idea.

Nghia Le commented Dec 07 '16, 3:20 a.m.

Thanks Ralph Schoon,
Do we have any way to do like override the existing file?

Your answer

Register or to post your answer.