/** * Diffs a path against a url providing short status-like change information to the provided * handler. This method functionality is equivalent to the 'svn diff --summarize' command. * * @param path1 the path of a left-hand item to diff * @param rN a revision of <code>path1</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 * @deprecated use {@link #doDiffStatus(File, SVNRevision, SVNURL, SVNRevision, SVNDepth, boolean, ISVNDiffStatusHandler)} * instead */ public void doDiffStatus(File path1, SVNRevision rN, SVNURL url2, SVNRevision rM, boolean recursive, boolean useAncestry, ISVNDiffStatusHandler handler) throws SVNException { doDiffStatus(path1, rN, url2, rM, SVNDepth.getInfinityOrFilesDepth(recursive), useAncestry, handler); }
/** * 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 * @deprecated use {@link #doDiffStatus(SVNURL, SVNRevision, SVNURL, SVNRevision, SVNDepth, boolean, ISVNDiffStatusHandler)} * instead */ public void doDiffStatus(SVNURL url1, SVNRevision rN, SVNURL url2, SVNRevision rM, boolean recursive, boolean useAncestry, ISVNDiffStatusHandler handler) throws SVNException { doDiffStatus(url1, rN, url2, rM, SVNDepth.getInfinityOrFilesDepth(recursive), useAncestry, handler); }
/** * 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 * @deprecated use {@link #doDiffStatus(SVNURL, SVNRevision, SVNURL, SVNRevision, SVNDepth, boolean, ISVNDiffStatusHandler)} * instead */ public void doDiffStatus(SVNURL url1, SVNRevision rN, SVNURL url2, SVNRevision rM, boolean recursive, boolean useAncestry, ISVNDiffStatusHandler handler) throws SVNException { doDiffStatus(url1, rN, url2, rM, SVNDepth.getInfinityOrFilesDepth(recursive), useAncestry, handler); }
/** * Diffs one path 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 path1 the path of a left-hand item to diff * @param rN a revision of <code>path1</code> * @param path2 the path of a right-hand item to diff * @param rM a revision of <code>path2</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 * @deprecated use {@link #doDiffStatus(File, SVNRevision, File, SVNRevision, SVNDepth, boolean, ISVNDiffStatusHandler)} * instead */ public void doDiffStatus(File path1, SVNRevision rN, File path2, SVNRevision rM, boolean recursive, boolean useAncestry, ISVNDiffStatusHandler handler) throws SVNException { doDiffStatus(path1, rN, path2, rM, SVNDepth.getInfinityOrFilesDepth(recursive), useAncestry, handler); }
/** * Diffs one path 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 path1 the path of a left-hand item to diff * @param rN a revision of <code>path1</code> * @param path2 the path of a right-hand item to diff * @param rM a revision of <code>path2</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 * @deprecated use {@link #doDiffStatus(File, SVNRevision, File, SVNRevision, SVNDepth, boolean, ISVNDiffStatusHandler)} * instead */ public void doDiffStatus(File path1, SVNRevision rN, File path2, SVNRevision rM, boolean recursive, boolean useAncestry, ISVNDiffStatusHandler handler) throws SVNException { doDiffStatus(path1, rN, path2, rM, SVNDepth.getInfinityOrFilesDepth(recursive), useAncestry, handler); }
/** * Diffs a url against a path 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 path2 the path of a right-hand item to diff * @param rM a revision of <code>path2</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 * @deprecated use {@link #doDiffStatus(SVNURL, SVNRevision, File, SVNRevision, SVNDepth, boolean, ISVNDiffStatusHandler)} * instead */ public void doDiffStatus(SVNURL url1, SVNRevision rN, File path2, SVNRevision rM, boolean recursive, boolean useAncestry, ISVNDiffStatusHandler handler) throws SVNException { doDiffStatus(url1, rN, path2, rM, SVNDepth.getInfinityOrFilesDepth(recursive), useAncestry, handler); }
/** * Diffs a path against a url providing short status-like change information to the provided * handler. This method functionality is equivalent to the 'svn diff --summarize' command. * * @param path1 the path of a left-hand item to diff * @param rN a revision of <code>path1</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 * @deprecated use {@link #doDiffStatus(File, SVNRevision, SVNURL, SVNRevision, SVNDepth, boolean, ISVNDiffStatusHandler)} * instead */ public void doDiffStatus(File path1, SVNRevision rN, SVNURL url2, SVNRevision rM, boolean recursive, boolean useAncestry, ISVNDiffStatusHandler handler) throws SVNException { doDiffStatus(path1, rN, url2, rM, SVNDepth.getInfinityOrFilesDepth(recursive), useAncestry, handler); }
/** * Diffs a url against a path 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 path2 the path of a right-hand item to diff * @param rM a revision of <code>path2</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 * @deprecated use {@link #doDiffStatus(SVNURL, SVNRevision, File, SVNRevision, SVNDepth, boolean, ISVNDiffStatusHandler)} * instead */ public void doDiffStatus(SVNURL url1, SVNRevision rN, File path2, SVNRevision rM, boolean recursive, boolean useAncestry, ISVNDiffStatusHandler handler) throws SVNException { doDiffStatus(url1, rN, path2, rM, SVNDepth.getInfinityOrFilesDepth(recursive), useAncestry, handler); }
/** * Diffs a url against a path 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 path2 * the path of a right-hand item to diff * @param rM * a revision of <code>path2</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 * @deprecated use * {@link #doDiffStatus(SVNURL, SVNRevision, File, SVNRevision, SVNDepth, boolean, ISVNDiffStatusHandler)} * instead */ public void doDiffStatus(SVNURL url1, SVNRevision rN, File path2, SVNRevision rM, boolean recursive, boolean useAncestry, ISVNDiffStatusHandler handler) throws SVNException { doDiffStatus(url1, rN, path2, rM, SVNDepth.getUnknownOrFilesDepth(recursive), useAncestry, handler); }
doDiffStatus(SvnTarget.fromURL(url, pegRevision), rN, rM, depth, useAncestry, handler);
/** * Diffs one path 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 path1 * the path of a left-hand item to diff * @param rN * a revision of <code>path1</code> * @param path2 * the path of a right-hand item to diff * @param rM * a revision of <code>path2</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 * @deprecated use * {@link #doDiffStatus(File, SVNRevision, File, SVNRevision, SVNDepth, boolean, ISVNDiffStatusHandler)} * instead */ public void doDiffStatus(File path1, SVNRevision rN, File path2, SVNRevision rM, boolean recursive, boolean useAncestry, ISVNDiffStatusHandler handler) throws SVNException { doDiffStatus(SvnTarget.fromFile(path1, SVNRevision.UNDEFINED), rN, rM, SVNDepth.getInfinityOrFilesDepth(recursive), useAncestry, handler); }
/** * 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 * @deprecated use * {@link #doDiffStatus(SVNURL, SVNRevision, SVNURL, SVNRevision, SVNDepth, boolean, ISVNDiffStatusHandler)} * instead */ public void doDiffStatus(SVNURL url1, SVNRevision rN, SVNURL url2, SVNRevision rM, boolean recursive, boolean useAncestry, ISVNDiffStatusHandler handler) throws SVNException { doDiffStatus(SvnTarget.fromURL(url1, rN), SvnTarget.fromURL(url2, rM), SVNDepth.getInfinityOrFilesDepth(recursive), useAncestry, handler); }
/** * Diffs a path against a url providing short status-like change information * to the provided handler. This method functionality is equivalent to the * 'svn diff --summarize' command. * * @param path1 * the path of a left-hand item to diff * @param rN * a revision of <code>path1</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 * @deprecated use * {@link #doDiffStatus(File, SVNRevision, SVNURL, SVNRevision, SVNDepth, boolean, ISVNDiffStatusHandler)} * instead */ public void doDiffStatus(File path1, SVNRevision rN, SVNURL url2, SVNRevision rM, boolean recursive, boolean useAncestry, ISVNDiffStatusHandler handler) throws SVNException { doDiffStatus(SvnTarget.fromFile(path1, rN), SvnTarget.fromURL(url2, rM), SVNDepth.getInfinityOrFilesDepth(recursive), useAncestry, handler); }
try { if (!isURL(target1) && !isURL(target2)) { differ.doDiffStatus(new File(target1).getAbsoluteFile(), rev1, new File(target2).getAbsoluteFile(), rev2, JavaHLObjectFactory.getSVNDepth(depth), !ignoreAncestry, handler); SVNURL url1 = SVNURL.parseURIEncoded(target1); SVNURL url2 = SVNURL.parseURIEncoded(target2); differ.doDiffStatus(url1, rev1, url2, rev2, JavaHLObjectFactory.getSVNDepth(depth), !ignoreAncestry, handler); } else if (!isURL(target1) && isURL(target2)) { SVNURL url2 = SVNURL.parseURIEncoded(target2); differ.doDiffStatus(new File(target1).getAbsoluteFile(), rev1, url2, rev2, JavaHLObjectFactory.getSVNDepth(depth), !ignoreAncestry, handler); } else if (isURL(target1) && !isURL(target2)) { SVNURL url1 = SVNURL.parseURIEncoded(target1); differ.doDiffStatus(url1, rev1, new File(target2).getAbsoluteFile(), rev2, JavaHLObjectFactory.getSVNDepth(depth), !ignoreAncestry, handler);
try { if (!isURL(target1) && !isURL(target2)) { differ.doDiffStatus(new File(target1).getAbsoluteFile(), rev1, new File(target2).getAbsoluteFile(), rev2, JavaHLObjectFactory.getSVNDepth(depth), !ignoreAncestry, handler); SVNURL url1 = SVNURL.parseURIEncoded(target1); SVNURL url2 = SVNURL.parseURIEncoded(target2); differ.doDiffStatus(url1, rev1, url2, rev2, JavaHLObjectFactory.getSVNDepth(depth), !ignoreAncestry, handler); } else if (!isURL(target1) && isURL(target2)) { SVNURL url2 = SVNURL.parseURIEncoded(target2); differ.doDiffStatus(new File(target1).getAbsoluteFile(), rev1, url2, rev2, JavaHLObjectFactory.getSVNDepth(depth), !ignoreAncestry, handler); } else if (isURL(target1) && !isURL(target2)) { SVNURL url1 = SVNURL.parseURIEncoded(target1); differ.doDiffStatus(url1, rev1, new File(target2).getAbsoluteFile(), rev2, JavaHLObjectFactory.getSVNDepth(depth), !ignoreAncestry, handler);
try { if (!isURL(target1) && !isURL(target2)) { differ.doDiffStatus(new File(target1).getAbsoluteFile(), rev1, new File(target2).getAbsoluteFile(), rev2, JavaHLObjectFactory.getSVNDepth(depth), !ignoreAncestry, handler); SVNURL url1 = SVNURL.parseURIEncoded(target1); SVNURL url2 = SVNURL.parseURIEncoded(target2); differ.doDiffStatus(url1, rev1, url2, rev2, JavaHLObjectFactory.getSVNDepth(depth), !ignoreAncestry, handler); } else if (!isURL(target1) && isURL(target2)) { SVNURL url2 = SVNURL.parseURIEncoded(target2); differ.doDiffStatus(new File(target1).getAbsoluteFile(), rev1, url2, rev2, JavaHLObjectFactory.getSVNDepth(depth), !ignoreAncestry, handler); } else if (isURL(target1) && !isURL(target2)) { SVNURL url1 = SVNURL.parseURIEncoded(target1); differ.doDiffStatus(url1, rev1, new File(target2).getAbsoluteFile(), rev2, JavaHLObjectFactory.getSVNDepth(depth), !ignoreAncestry, handler);
try { if (!isURL(target)) { differ.doDiffStatus(new File(target).getAbsoluteFile(), rev1, rev2, pegRev, JavaHLObjectFactory.getSVNDepth(depth), } else { SVNURL url = SVNURL.parseURIEncoded(target); differ.doDiffStatus(url, rev1, rev2, pegRev, JavaHLObjectFactory.getSVNDepth(depth), !ignoreAncestry, handler);
try { if (!isURL(target)) { differ.doDiffStatus(new File(target).getAbsoluteFile(), rev1, rev2, pegRev, JavaHLObjectFactory.getSVNDepth(depth), } else { SVNURL url = SVNURL.parseURIEncoded(target); differ.doDiffStatus(url, rev1, rev2, pegRev, JavaHLObjectFactory.getSVNDepth(depth), !ignoreAncestry, handler);
try { if (!isURL(target)) { differ.doDiffStatus(new File(target).getAbsoluteFile(), rev1, rev2, pegRev, JavaHLObjectFactory.getSVNDepth(depth), } else { SVNURL url = SVNURL.parseURIEncoded(target); differ.doDiffStatus(url, rev1, rev2, pegRev, JavaHLObjectFactory.getSVNDepth(depth), !ignoreAncestry, handler);
getDiffClient(repository).doDiffStatus( rootUrl, SVNRevision.create(revision - 1),