/** * @param file * @param url * @param pegRevision * @param revision * @param recursive * @param force * @return actual revision number * @throws SVNException * @deprecated use {@link #doSwitch(File, SVNURL, SVNRevision, SVNRevision, SVNDepth, boolean, boolean)} instead */ public long doSwitch(File file, SVNURL url, SVNRevision pegRevision, SVNRevision revision, boolean recursive, boolean force) throws SVNException { return doSwitch(file, url, pegRevision, revision, SVNDepth.getInfinityOrFilesDepth(recursive), force, false); }
/** * @param file * @param url * @param pegRevision * @param revision * @param recursive * @param force * @return actual revision number * @throws SVNException * @deprecated use * {@link #doSwitch(File,SVNURL,SVNRevision,SVNRevision,SVNDepth,boolean,boolean)} * instead */ public long doSwitch(File file, SVNURL url, SVNRevision pegRevision, SVNRevision revision, boolean recursive, boolean force) throws SVNException { return doSwitch(file, url, pegRevision, revision, SVNDepth.getInfinityOrFilesDepth(recursive), force, false); }
/** * @param file * @param url * @param pegRevision * @param revision * @param recursive * @param force * @return actual revision number * @throws SVNException * @deprecated use {@link #doSwitch(File, SVNURL, SVNRevision, SVNRevision, SVNDepth, boolean, boolean)} instead */ public long doSwitch(File file, SVNURL url, SVNRevision pegRevision, SVNRevision revision, boolean recursive, boolean force) throws SVNException { return doSwitch(file, url, pegRevision, revision, SVNDepth.getInfinityOrFilesDepth(recursive), force, false); }
/** * @param file * @param url * @param pegRevision * @param revision * @param recursive * @param force * @return actual revision number * @throws SVNException * @deprecated use * {@link #doSwitch(File, SVNURL, SVNRevision, SVNRevision, SVNDepth, boolean, boolean)} * instead */ public long doSwitch(File file, SVNURL url, SVNRevision pegRevision, SVNRevision revision, boolean recursive, boolean force) throws SVNException { return doSwitch(file, url, pegRevision, revision, SVNDepth.getInfinityOrFilesDepth(recursive), force, false); }
/** * 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 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 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 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 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 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 rNa * revision of <code>path1</code> * @param url2 the * url of a right-hand item to diff * @param rMa * revision of <code>url2</code> * @param recursivecontrols * 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 handlera * 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 rNa * revision of <code>url1</code> * @param path2 the * path of a right-hand item to diff * @param rMa * revision of <code>path2</code> * @param recursivecontrols * 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 handlera * 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); }
return doSwitch(file, url, pegRevision, revision, SVNDepth.getInfinityOrFilesDepth(recursive), false, false);
/** * 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 rNa * revision of <code>path1</code> * @param path2 the * path of a right-hand item to diff * @param rMa * revision of <code>path2</code> * @param recursivecontrols * 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 handlera * 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 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 rNa * revision of <code>url1</code> * @param url2 the * url of a right-hand item to diff * @param rMa * revision of <code>url2</code> * @param recursivecontrols * 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 handlera * 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); }
/** * Updates the Working Copy item to mirror a new URL. * * <p> * As a revision <b>SVNRevision</b>'s pre-defined constant fields can be used. For example, * to update the Working Copy to the latest revision of the repository use * {@link SVNRevision#HEAD HEAD}. * * @param file the Working copy item to be switched * @param url the repository location as a target against which the item will * be switched * @param pegRevision a revision in which <code>file</code> is first looked up * in the repository * @param revision the desired revision of the repository target * @param recursive if <span class="javakeyword">true</span> and <code>file</code> is * a directory then the entire tree will be updated, otherwise if * <span class="javakeyword">false</span> - only items located immediately * in the directory itself * @return the revision number to which <code>file</code> was updated to * @throws SVNException * @deprecated use {@link #doSwitch(File, SVNURL, SVNRevision, SVNRevision, SVNDepth, boolean, boolean)} instead */ public long doSwitch(File file, SVNURL url, SVNRevision pegRevision, SVNRevision revision, boolean recursive) throws SVNException { return doSwitch(file, url, pegRevision, revision, SVNDepth.getInfinityOrFilesDepth(recursive), false, false); }
/** * Updates the Working Copy item to mirror a new URL. * * <p> * As a revision <b>SVNRevision</b>'s pre-defined constant fields can be used. For example, * to update the Working Copy to the latest revision of the repository use * {@link SVNRevision#HEAD HEAD}. * * @param file the Working copy item to be switched * @param url the repository location as a target against which the item will * be switched * @param pegRevision a revision in which <code>file</code> is first looked up * in the repository * @param revision the desired revision of the repository target * @param recursive if <span class="javakeyword">true</span> and <code>file</code> is * a directory then the entire tree will be updated, otherwise if * <span class="javakeyword">false</span> - only items located immediately * in the directory itself * @return the revision number to which <code>file</code> was updated to * @throws SVNException * @deprecated use {@link #doSwitch(File, SVNURL, SVNRevision, SVNRevision, SVNDepth, boolean, boolean)} instead */ public long doSwitch(File file, SVNURL url, SVNRevision pegRevision, SVNRevision revision, boolean recursive) throws SVNException { return doSwitch(file, url, pegRevision, revision, SVNDepth.getInfinityOrFilesDepth(recursive), false, false); }
/** * Updates the Working Copy item to mirror a new URL. * * <p> * As a revision <b>SVNRevision</b>'s pre-defined constant fields can be used. For example, * to update the Working Copy to the latest revision of the repository use * {@link SVNRevision#HEAD HEAD}. * * <p> * Calling this method is equivalent to * <code>doSwitch(file, url, SVNRevision.UNDEFINED, revision, recursive)</code>. * * @param file the Working copy item to be switched * @param url the repository location as a target against which the item will * be switched * @param revision the desired revision of the repository target * @param recursive if <span class="javakeyword">true</span> and <code>file</code> is * a directory then the entire tree will be updated, otherwise if * <span class="javakeyword">false</span> - only items located immediately * in the directory itself * @return the revision number to which <code>file</code> was updated to * @throws SVNException * @deprecated use {@link #doSwitch(File, SVNURL, SVNRevision, SVNRevision, SVNDepth, boolean, boolean)} instead */ public long doSwitch(File file, SVNURL url, SVNRevision revision, boolean recursive) throws SVNException { return doSwitch(file, url, SVNRevision.UNDEFINED, revision, SVNDepth.getInfinityOrFilesDepth(recursive), false, false); }