Class SVNRevisionProperty

java.lang.Object
org.tmatesoft.svn.core.SVNRevisionProperty

public class SVNRevisionProperty extends java.lang.Object
The SVNRevisionProperty class represents revision properties - those unversioned properties supported by Subversion.

Revision properties are unversioned, so there is always a risk to lose information when modifying revision property values.

Since:
1.2
Version:
1.3
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final java.lang.String
    An "svn:author" revision property (that holds the name of the revision's author).
    static final java.lang.String
    The presence of this fs revision property indicates that the revision was automatically generated by the mod_dav_svn autoversioning feature.
    static final java.lang.String
    "svn:sync-currently-copying" revision property.
    static final java.lang.String
    An "svn:date" revision property that is a date & time stamp representing the time when the revision was created.
    static final java.lang.String
    "svn:sync-from-url" revision property.
    static final java.lang.String
    "svn:sync-from-uuid" revision property.
    static final java.lang.String
    "svn:sync-last-merged-rev" revision property.
    static final java.lang.String
    "svn:sync-lock" revision property.
    static final java.lang.String
    An "svn:log" revision property - the one that stores a log message attached to a revision during a commit operation.
    static final java.lang.String
    The fs revision property that stores a commit's "original" date.
    private static final java.util.Collection
     
    static final java.lang.String
    Ephemeral revision property that, when set as commit revision property, will be available to the hook scripts, but not actually set on a revision.
    static final java.lang.String
    An "txn-" prefix for revision properties that when set as commit revision property would be available to the hook scripts, but not actually set on a commit.
    static final java.lang.String
    Ephemeral revision property that, when set as commit revision property, will be available to the hook scripts, but not actually set on a revision.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    isRevisionProperty(java.lang.String name)
    Says if the given revision property name is really a valid revision property name.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • SVN_TXN_PREFIX

      public static final java.lang.String SVN_TXN_PREFIX
      An "txn-" prefix for revision properties that when set as commit revision property would be available to the hook scripts, but not actually set on a commit.
      See Also:
    • REVISION_PROPS

      private static final java.util.Collection REVISION_PROPS
    • AUTHOR

      public static final java.lang.String AUTHOR
      An "svn:author" revision property (that holds the name of the revision's author).
      See Also:
    • LOG

      public static final java.lang.String LOG
      An "svn:log" revision property - the one that stores a log message attached to a revision during a commit operation.
      See Also:
    • DATE

      public static final java.lang.String DATE
      An "svn:date" revision property that is a date & time stamp representing the time when the revision was created.
      See Also:
    • LOCK

      public static final java.lang.String LOCK
      "svn:sync-lock" revision property.
      Since:
      1.1, new in Subversion 1.4
      See Also:
    • FROM_URL

      public static final java.lang.String FROM_URL
      "svn:sync-from-url" revision property.
      Since:
      1.1, new in Subversion 1.4
      See Also:
    • FROM_UUID

      public static final java.lang.String FROM_UUID
      "svn:sync-from-uuid" revision property.
      Since:
      1.1, new in Subversion 1.4
      See Also:
    • LAST_MERGED_REVISION

      public static final java.lang.String LAST_MERGED_REVISION
      "svn:sync-last-merged-rev" revision property.
      Since:
      1.1, new in Subversion 1.4
      See Also:
    • CURRENTLY_COPYING

      public static final java.lang.String CURRENTLY_COPYING
      "svn:sync-currently-copying" revision property.
      Since:
      1.1, new in Subversion 1.4
      See Also:
    • AUTOVERSIONED

      public static final java.lang.String AUTOVERSIONED
      The presence of this fs revision property indicates that the revision was automatically generated by the mod_dav_svn autoversioning feature. The value is irrelevant.
      See Also:
    • ORIGINAL_DATE

      public static final java.lang.String ORIGINAL_DATE
      The fs revision property that stores a commit's "original" date. The svn:date property must be monotonically increasing, along with the revision number. In certain scenarios, this may pose a problem when the revision represents a commit that occurred at a time which does not fit within the sequencing required for svn:date. This can happen, for instance, when the revision represents a commit to a foreign version control system, or possibly when two Subversion repositories are combined. This property can be used to record the TRUE, original date of the commit.
      See Also:
    • SVN_TXN_CLIENT_COMPAT_VERSION

      public static final java.lang.String SVN_TXN_CLIENT_COMPAT_VERSION
      Ephemeral revision property that, when set as commit revision property, will be available to the hook scripts, but not actually set on a revision.
      See Also:
    • SVN_TXN_USER_AGENT

      public static final java.lang.String SVN_TXN_USER_AGENT
      Ephemeral revision property that, when set as commit revision property, will be available to the hook scripts, but not actually set on a revision.
      See Also:
  • Constructor Details

    • SVNRevisionProperty

      public SVNRevisionProperty()
  • Method Details

    • isRevisionProperty

      public static boolean isRevisionProperty(java.lang.String name)
      Says if the given revision property name is really a valid revision property name.
      Parameters:
      name - a property name
      Returns:
      true if it's a revision property name, false otherwise