repository1.diff(url2, rev2, rev1, target1, !useAncestry, depth, true, reporter, SVNCancellableEditor.newInstance(editor, this, getDebugLog()));
} finally {
if (editor != null) {
editor.cleanup();
}
repository2.closeSession();
}
}
private void doDiffURLURL(SVNURL url1, File path1, SVNRevision revision1, SVNURL url2, File path2, SVNRevision revision2, SVNRevision pegRevision,
SVNDepth depth, boolean useAncestry, ISVNDiffStatusHandler handler) throws SVNException {