Class 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
    Author:
    TMate Software Ltd.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String AUTHOR
      An "svn:author" revision property (that holds the name of the revision's author).
      static 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.
      static java.lang.String CURRENTLY_COPYING
      "svn:sync-currently-copying" revision property.
      static java.lang.String DATE
      An "svn:date" revision property that is a date & time stamp representing the time when the revision was created.
      static java.lang.String FROM_URL
      "svn:sync-from-url" revision property.
      static java.lang.String FROM_UUID
      "svn:sync-from-uuid" revision property.
      static java.lang.String LAST_MERGED_REVISION
      "svn:sync-last-merged-rev" revision property.
      static java.lang.String LOCK
      "svn:sync-lock" revision property.
      static java.lang.String LOG
      An "svn:log" revision property - the one that stores a log message attached to a revision during a commit operation.
      static java.lang.String ORIGINAL_DATE
      The fs revision property that stores a commit's "original" date.
      static 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.
      static 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.
      static 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.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      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 Detail

      • 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:
        Constant Field Values
      • AUTHOR

        public static final java.lang.String AUTHOR
        An "svn:author" revision property (that holds the name of the revision's author).
        See Also:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • LOCK

        public static final java.lang.String LOCK
        "svn:sync-lock" revision property.
        Since:
        1.1, new in Subversion 1.4
        See Also:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
    • Constructor Detail

      • SVNRevisionProperty

        public SVNRevisionProperty()
    • Method Detail

      • 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