public void diff(String url, long revision, String target, boolean ignoreAncestry, boolean recursive, ISVNReporterBaton reporter, ISVNEditor editor) throws SVNException { target = target == null ? "" : target; url = getCanonicalURL(url); if (url == null) { throw new SVNException(url + ": not valid URL"); } Object[] buffer = new Object[] { "diff", getRevisionObject(revision), target, Boolean.valueOf(ignoreAncestry), Boolean.valueOf(recursive), url }; try { openConnection(); write("(w((n)swws))", buffer); authenticate(); reporter.report(this); authenticate(); read("*E", new Object[] { editor }); } finally { closeConnection(); }
public void diff(String url, long revision, String target, boolean ignoreAncestry, boolean recursive, ISVNReporterBaton reporter, ISVNEditor editor) throws SVNException { diff(url, revision, revision, target, ignoreAncestry, recursive, reporter, editor);
    public void diff(String url, long revision, String target, boolean ignoreAncestry, boolean recursive, ISVNReporterBaton reporter, ISVNEditor editor)            throws SVNException {        target = target == null ? "" : target;        url = getCanonicalURL(url);        if (url == null) {            throw new SVNException(url + ": not valid URL");        }        Object[] buffer = new Object[] { "diff", getRevisionObject(revision), target, Boolean.valueOf(ignoreAncestry), Boolean.valueOf(recursive), url };        try {            openConnection();            write("(w((n)swws))", buffer);            authenticate();            reporter.report(this);            authenticate();            read("*E", new Object[] { editor });        } finally {            closeConnection();        }    }