Java Code Examples for org.tigris.subversion.svnclientadapter.ISVNInfo#getSchedule()
The following examples show how to use
org.tigris.subversion.svnclientadapter.ISVNInfo#getSchedule() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: AbstractJhlClientAdapter.java From APICloud-Studio with GNU General Public License v3.0 | 5 votes |
public ISVNAnnotations annotate(File file, SVNRevision revisionStart, SVNRevision revisionEnd, SVNRevision pegRevision, boolean ignoreMimeType, boolean includeMergedRevisions) throws SVNClientException { String target = fileToSVNPath(file, false); // If the file is an uncommitted rename/move, we have to refer to // original/source, not the new copy. ISVNInfo info = getInfoFromWorkingCopy(file); if ((SVNScheduleKind.ADD == info.getSchedule()) && (info.getCopyUrl() != null)) { target = info.getCopyUrl().toString(); } return annotate(target, revisionStart, revisionEnd, pegRevision, ignoreMimeType, includeMergedRevisions); }
Example 2
Source File: AbstractJhlClientAdapter.java From APICloud-Studio with GNU General Public License v3.0 | 5 votes |
public ISVNAnnotations annotate(File file, SVNRevision revisionStart, SVNRevision revisionEnd) throws SVNClientException { String target = fileToSVNPath(file, false); // If the file is an uncommitted rename/move, we have to refer to // original/source, not the new copy. ISVNInfo info = getInfoFromWorkingCopy(file); if ((SVNScheduleKind.ADD == info.getSchedule()) && (info.getCopyUrl() != null)) { target = info.getCopyUrl().toString(); } return annotate(target, revisionStart, revisionEnd, null, false, false); }