Class SvnKitInfo
java.lang.Object
net.sf.statsvn.util.SvnInfoUtils
net.sf.statsvn.util.svnkit.SvnKitInfo
- All Implemented Interfaces:
ISvnInfoProcessor
Performs svn info using svnkit.
- Author:
- jkealey, yogesh
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class SvnInfoUtils
SvnInfoUtils.SvnInfoHandler -
Field Summary
Fields inherited from class SvnInfoUtils
HM_REVISIONS, HS_DIRECTORIES, processor, SVN_REPO_ROOT_NOTFOUND -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidVerifies that the "svn info" command can return the repository root (info available in svn >= 1.3.0)org.tmatesoft.svn.core.wc.SVNClientManagerprotected voidhandleSvnException(org.tmatesoft.svn.core.SVNException ex) protected voidloadInfo(boolean bRootOnly) Loads the information from svn info if needed.Methods inherited from class 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
-
Constructor Details
-
SvnKitInfo
-
-
Method Details
-
checkRepoRootAvailable
Verifies that the "svn info" command can return the repository root (info available in svn >= 1.3.0)- Specified by:
checkRepoRootAvailablein interfaceISvnInfoProcessor- Overrides:
checkRepoRootAvailablein classSvnInfoUtils- Throws:
SvnVersionMismatchException- if svn info failed to provide a non-empty repository root
-
getCheckoutDirectory
-
getManager
public org.tmatesoft.svn.core.wc.SVNClientManager getManager() -
getSvnKitProcessor
-
handleSvnException
- Throws:
IOException
-
loadInfo
protected void loadInfo(boolean bRootOnly) throws net.sf.statcvs.input.LogSyntaxException, IOException Loads the information from svn info if needed.- Overrides:
loadInfoin classSvnInfoUtils- Parameters:
bRootOnly- load only the root?- Throws:
net.sf.statcvs.input.LogSyntaxException- if the format of the svn info is invalidIOException- if we can't read from the response stream.
-