net.sf.statsvn.util.svnkit
public class SvnKitInfo extends SvnInfoUtils
Modifier and Type | Class and Description |
---|---|
protected static class |
SvnKitInfo.SvnKitInfoHandler |
SvnInfoUtils.SvnInfoHandler
HM_REVISIONS, HS_DIRECTORIES, processor, SVN_REPO_ROOT_NOTFOUND
Constructor and Description |
---|
SvnKitInfo(ISvnProcessor processor) |
Modifier and Type | Method and Description |
---|---|
void |
checkRepoRootAvailable()
Verifies that the "svn info" command can return the repository root
(info available in svn >= 1.3.0)
|
java.io.File |
getCheckoutDirectory() |
org.tmatesoft.svn.core.wc.SVNClientManager |
getManager() |
SvnKitProcessor |
getSvnKitProcessor() |
protected void |
handleSvnException(org.tmatesoft.svn.core.SVNException ex) |
protected void |
loadInfo(boolean bRootOnly)
Loads the information from svn info if needed.
|
absolutePathToUrl, absoluteToRelativePath, addDirectory, clearCache, existsInWorkingCopy, getModuleName, getProcessor, getRepositoryUrl, getRepositoryUuid, getRevisionNumber, getRootRevisionNumber, getRootUrl, getSvnInfo, isDirectory, isQueryNeeded, loadInfo, loadInfo, relativePathToUrl, relativeToAbsolutePath, setRepositoryUrl, setRepositoryUuid, setRootUrl, urlToAbsolutePath, urlToRelativePath
public SvnKitInfo(ISvnProcessor processor)
public void checkRepoRootAvailable() throws SvnVersionMismatchException
checkRepoRootAvailable
in interface ISvnInfoProcessor
checkRepoRootAvailable
in class SvnInfoUtils
SvnVersionMismatchException
- if svn info failed to provide a non-empty repository rootpublic java.io.File getCheckoutDirectory()
public org.tmatesoft.svn.core.wc.SVNClientManager getManager()
public SvnKitProcessor getSvnKitProcessor()
protected void handleSvnException(org.tmatesoft.svn.core.SVNException ex) throws java.io.IOException
java.io.IOException
protected void loadInfo(boolean bRootOnly) throws net.sf.statcvs.input.LogSyntaxException, java.io.IOException
loadInfo
in class SvnInfoUtils
bRootOnly
- load only the root?net.sf.statcvs.input.LogSyntaxException
- if the format of the svn info is invalidjava.io.IOException
- if we can't read from the response stream.