Class SubversionRepository

All Implemented Interfaces:
Serializable

public class SubversionRepository extends Repository
Access to a Subversion repository.

TODO The current implementation does not support nested repositories as described in http://svnbook.red-bean.com/en/1.0/ch07s03.html

Author:
Trond Norbye
See Also:
  • Field Details

    • CMD_PROPERTY_KEY

      public static final String CMD_PROPERTY_KEY
      The property name used to obtain the client command for this repository.
      See Also:
    • CMD_FALLBACK

      public static final String CMD_FALLBACK
      The command to use to access the repository if none was given explicitly.
      See Also:
    • reposPath

      protected String reposPath
  • Constructor Details

    • SubversionRepository

      public SubversionRepository()
  • Method Details

    • setDirectoryName

      public void setDirectoryName(File directory)
      Description copied from class: RepositoryInfo
      Specify the name of the root directory for this repository.
      Overrides:
      setDirectoryName in class RepositoryInfo
      Parameters:
      directory - the new root directory
    • annotate

      public Annotation annotate(File file, String revision) throws IOException
      Throws:
      IOException
    • fileHasAnnotation

      public boolean fileHasAnnotation(File file)
    • fileHasHistory

      public boolean fileHasHistory(File file)
    • isWorking

      public boolean isWorking()
      Description copied from class: RepositoryInfo
      Returns true if this repository is usable in this context (for SCM systems that use external binaries, the binary must be available etc).
      Overrides:
      isWorking in class RepositoryInfo
      Returns:
      true if the HistoryGuru may use the repository
    • determineCurrentVersion

      public String determineCurrentVersion(CommandTimeoutType cmdType) throws IOException
      Throws:
      IOException