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
  • Constructor Details

  • Method Details

    • 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.