url = wcAccess.getAnchor().getEntries().getEntry("", true).getURL();
String url = wcAccess.getAnchor().getEntries().getEntry("", true).getURL();
    private void doWCReposDiff(SVNWCAccess wcAccess, SVNRevision reposRev, SVNRevision localRev,            boolean reverse,            boolean recursive, boolean useAncestry, OutputStream result) throws SVNException {        String url = wcAccess.getTargetEntryProperty(SVNProperty.URL);                // get wc url and revision        url = wcAccess.getAnchor().getEntries().getEntry("", true).getURL();        String target = "".equals(wcAccess.getTargetName()) ? null : wcAccess.getTargetName();        SVNRevision wcRevNumber = SVNRevision.parse(wcAccess.getTargetEntryProperty(SVNProperty.REVISION));                SVNRepository repos = createRepository(url);        SVNReporter reporter = new SVNReporter(wcAccess, recursive);                SVNDiffEditor editor = new SVNDiffEditor(wcAccess, getDiffGenerator(), useAncestry,                 reverse /*reverse*/, localRev == SVNRevision.BASE /*compare to base*/, result);                // get target url and revision, fetch target url location at desired target revision         long revNumber = getRevisionNumber(url, reposRev);        String targetURL = wcAccess.getTargetEntryProperty(SVNProperty.URL);        if (wcAccess.getTargetEntryProperty(SVNProperty.COPYFROM_URL) != null) {            targetURL = wcAccess.getTargetEntryProperty(SVNProperty.COPYFROM_URL);        }        targetURL = getURL(targetURL, wcRevNumber, SVNRevision.create(revNumber));        targetURL = PathUtil.decode(targetURL);        repos.diff(targetURL, revNumber, wcRevNumber.getNumber(), target, !useAncestry, recursive, reporter, editor);    }