net.sf.statsvn.util.svnkit
Class SvnKitInfo
java.lang.Object
net.sf.statsvn.util.SvnInfoUtils
net.sf.statsvn.util.svnkit.SvnKitInfo
- All Implemented Interfaces:
- ISvnInfoProcessor
- public class SvnKitInfo
- extends SvnInfoUtils
Performs svn info using svnkit.
- Author:
- jkealey, yogesh
| Methods inherited from class net.sf.statsvn.util.SvnInfoUtils |
absolutePathToUrl, absoluteToRelativePath, addDirectory, clearCache, existsInWorkingCopy, getModuleName, getProcessor, getRepositoryUrl, getRepositoryUuid, getRevisionNumber, getRootRevisionNumber, getRootUrl, getSvnInfo, isDirectory, isQueryNeeded, loadInfo, loadInfo, relativePathToUrl, relativeToAbsolutePath, setRepositoryUrl, setRepositoryUuid, setRootUrl, urlToAbsolutePath, urlToRelativePath |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SvnKitInfo
public SvnKitInfo(ISvnProcessor processor)
checkRepoRootAvailable
public void checkRepoRootAvailable()
throws SvnVersionMismatchException
- Verifies that the "svn info" command can return the repository root
(info available in svn >= 1.3.0)
- Specified by:
checkRepoRootAvailable in interface ISvnInfoProcessor- Overrides:
checkRepoRootAvailable in class SvnInfoUtils
- Throws:
SvnVersionMismatchException - if svn info failed to provide a non-empty repository root
getCheckoutDirectory
public File getCheckoutDirectory()
getManager
public org.tmatesoft.svn.core.wc.SVNClientManager getManager()
getSvnKitProcessor
public SvnKitProcessor getSvnKitProcessor()
handleSvnException
protected void handleSvnException(org.tmatesoft.svn.core.SVNException ex)
throws IOException
- Throws:
IOException
loadInfo
protected void loadInfo(boolean bRootOnly)
throws net.sf.statcvs.input.LogSyntaxException,
IOException
- Loads the information from svn info if needed.
- Overrides:
loadInfo in class SvnInfoUtils
- Parameters:
bRootOnly - load only the root?
- Throws:
net.sf.statcvs.input.LogSyntaxException - if the format of the svn info is invalid
IOException - if we can't read from the response stream.