Im trying to merge with SVNKit but it cause tree conflicts. To find the reason I did some experiments with the svn command line tools. This command will cause the same conflicts as for SVNKit:
svn merge –r 0:HEAD "https://svnserver.com/svn/test/trunk"
But
svn merge "https://svnserver.com/svn/test/trunk"
is working fine.
So how can I do the same with SVNKit? doMerge requires a SVNRevisionRange.
SVNRevisionRange r = new SVNRevisionRange(SVNRevision.create(0), SVNRevision.HEAD);
dc.doMerge(mergeUrl, mergeRev, Arrays.asList(r), mr, INFINITY, true, false, false, false);