SVNURL url1 = SVNURL.parseURIEncoded(target1);
SVNURL url2 = SVNURL.parseURIEncoded(target2);
differ.doDiff(url1, rev1, url2, rev2, JavaHLObjectFactory.getSVNDepth(depth), !ignoreAncestry, out);
} else if (!isURL(target1) && isURL(target2)) {
SVNURL url2 = SVNURL.parseURIEncoded(target2);
differ.doDiff(new File(target1).getAbsoluteFile(), rev1,
url2, rev2, JavaHLObjectFactory.getSVNDepth(depth), !ignoreAncestry, out,
JavaHLObjectFactory.getChangeListsCollection(changelists));
} else if (isURL(target1) && !isURL(target2)) {
SVNURL url1 = SVNURL.parseURIEncoded(target1);
differ.doDiff(url1, rev1, new File(target2).getAbsoluteFile(), rev2,