String anchorPath2 = SVNPathUtil.append(anchorURL.toString(), target == null ? "" : target);
getDiffGenerator().init(url1.toString(), anchorPath2);
}
SVNRepository repository = createRepository(anchorURL, true);
long revNumber = getRevisionNumber(revision1, repository, null);
AbstractDiffCallback callback = new SVNDiffCallback(info, getDiffGenerator(),
reverse ? -1 : revNumber, reverse ? revNumber : -1, result);
SVNDiffEditor editor = new SVNDiffEditor(wcAccess, info, callback,
useAncestry, reverse /* reverse */,
revision2 == SVNRevision.BASE || revision2 == SVNRevision.COMMITTED /* compare to base */,
recursive);