« Return to Thread: how to do svn merge with 2 URLs and destination path

Re: how to do svn merge with 2 URLs and destination path

by sivagurunath :: Rate this Message:

Reply to Author | View in Thread

This issue is still not resolved

It works when I give
SVNRevisionRange rangesToMerge = new SVNRevisionRange(SVNRevision.create(1), SVNRevision.HEAD);
svnDiffClient.doMerge(new File("/tmp/guruRepo"), SVNRevision.HEAD,Collections.singleton(rangesToMerge),new File("/tmp/sivaRepo"),SVNDepth.INFINITY, true, false, false,false);

But its not work when I give 2 URLs
svnDiffClient.doMerge(url1,SVNRevision.create(1), url2,SVNRevision.WORKING, new File(dstPath), SVNDepth.INFINITY,true,false, false, false);
                   
The later is the requirement I have i.e passing 2 URLs and merging

Please help me as this one is eating my head....

 « Return to Thread: how to do svn merge with 2 URLs and destination path