if (entry.getConflictOld() != null && entry.getConflictNew() != null && entry.getConflictWorking() != null) {
String conflictOld = entry.getConflictOld();
String conflictNew = entry.getConflictNew();
String conflictWorking = entry.getConflictWorking();
ISVNMergerFactory factory = myWCAccess.getOptions().getMergerFactory();
File conflictOldFile = SVNPathUtil.isAbsolute(conflictOld) ? new Resource(conflictOld) : getFile(conflictOld);
File conflictNewFile = SVNPathUtil.isAbsolute(conflictNew) ? new Resource(conflictNew) : getFile(conflictNew);
File conflictWorkingFile = SVNPathUtil.isAbsolute(conflictWorking) ? new Resource(conflictWorking) : getFile(conflictWorking);
byte[] conflictStart = ("<<<<<<< " + conflictWorking).getBytes();
byte[] conflictEnd = (">>>>>>> " + conflictNew).getBytes();
byte[] separator = ("=======").getBytes();
ISVNMerger merger = factory.createMerger(conflictStart, separator, conflictEnd);
SVNDiffConflictChoiceStyle style = conflictChoice == SVNConflictChoice.THEIRS_CONFLICT ? SVNDiffConflictChoiceStyle.CHOOSE_LATEST :
SVNDiffConflictChoiceStyle.CHOOSE_MODIFIED;
if (merger instanceof DefaultSVNMerger) {
DefaultSVNMerger defaultMerger = (DefaultSVNMerger) merger;
defaultMerger.setDiffConflictStyle(style);