/** * Diffs one url against another one providing short status-like change information to the provided * handler. This method functionality is equivalent to the 'svn diff --summarize' command. * * @param url1 the url of a left-hand item to diff * @param rN a revision of <code>url1</code> * @param url2 the url of a right-hand item to diff * @param rM a revision of <code>url2</code> * @param recursive controls whether operation must recurse or not * @param useAncestry if <span class="javakeyword">true</span> then * the paths ancestry will be noticed while calculating differences, * otherwise not * @param handler a diff status handler * @throws SVNException * @since 1.1, new in Subversion 1.4 */ public void doDiffStatus(SVNURL url1, SVNRevision rN, SVNURL url2, SVNRevision rM, boolean recursive, boolean useAncestry, ISVNDiffStatusHandler handler) throws SVNException { if (handler == null) { return; } if (!rN.isValid() || !rM.isValid()) { SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.CLIENT_BAD_REVISION, "Both rN and rM revisions should be specified"); SVNErrorManager.error(err); } doDiffURLURL(url1, null, rN, url2, null, rM, SVNRevision.UNDEFINED, recursive, useAncestry, handler); }
SVNErrorManager.error(err, SVNLogType.DEFAULT); doDiffURLURL(url1, null, rN, url2, null, rM, SVNRevision.UNDEFINED, depth, useAncestry, handler);
SVNErrorManager.error(err, SVNLogType.DEFAULT); doDiffURLURL(url1, null, rN, url2, null, rM, SVNRevision.UNDEFINED, depth, useAncestry, handler);
SVNErrorManager.error(err, SVNLogType.DEFAULT); doDiffURLURL(url, null, rN, url, null, rM, pegRevision, depth, useAncestry, handler);
SVNErrorManager.error(err, SVNLogType.DEFAULT); doDiffURLURL(url, null, rN, url, null, rM, pegRevision, depth, useAncestry, handler);
SVNErrorManager.error(err); } else { doDiffURLURL(url1, null, rN, null, path2, rM, SVNRevision.UNDEFINED, recursive, useAncestry, handler);
SVNErrorManager.error(err); } else { doDiffURLURL(null, path1, rN, url2, null, rM, SVNRevision.UNDEFINED, recursive, useAncestry, handler);
SVNErrorManager.error(err); doDiffURLURL(null, path1, rN, null, path2, rM, SVNRevision.UNDEFINED, recursive, useAncestry, handler);
doDiffURLWC(url2, rM, SVNRevision.UNDEFINED, path1, rN, true, recursive, useAncestry, result); } else { doDiffURLURL(null, path1, rN, url2, null, rM, SVNRevision.UNDEFINED, recursive, useAncestry, result);
doDiffURLWC(url1, rN, SVNRevision.UNDEFINED, path2, rM, false, recursive, useAncestry, result); } else { doDiffURLURL(url1, null, rN, null, path2, rM, SVNRevision.UNDEFINED, recursive, useAncestry, result);
SVNErrorManager.error(err, SVNLogType.DEFAULT); } else { doDiffURLURL(null, path1, rN, url2, null, rM, SVNRevision.UNDEFINED, depth, useAncestry, handler);
SVNErrorManager.error(err, SVNLogType.DEFAULT); } else { doDiffURLURL(url1, null, rN, null, path2, rM, SVNRevision.UNDEFINED, depth, useAncestry, handler);
SVNErrorManager.error(err, SVNLogType.DEFAULT); doDiffURLURL(null, path1, rN, null, path2, rM, SVNRevision.UNDEFINED, depth, useAncestry, handler);
SVNErrorManager.error(err, SVNLogType.DEFAULT); doDiffURLURL(null, path1, rN, null, path2, rM, SVNRevision.UNDEFINED, depth, useAncestry, handler);
SVNErrorManager.error(err, SVNLogType.DEFAULT); } else { doDiffURLURL(null, path1, rN, url2, null, rM, SVNRevision.UNDEFINED, depth, useAncestry, handler);
SVNErrorManager.error(err, SVNLogType.DEFAULT); } else { doDiffURLURL(url1, null, rN, null, path2, rM, SVNRevision.UNDEFINED, depth, useAncestry, handler);
doDiffURLURL(url1, null, rN, url2, null, rM, SVNRevision.UNDEFINED, recursive, useAncestry, result);
doDiffURLURL(url, null, rN, url, null, rM, pegRevision, depth, useAncestry, result);
doDiffURLURL(url, null, rN, url, null, rM, pegRevision, recursive, useAncestry, result);
doDiffURLURL(url, null, rN, url, null, rM, pegRevision, depth, useAncestry, result);