Package org.tmatesoft.svn.core
Class SVNRevisionProperty
java.lang.Object
org.tmatesoft.svn.core.SVNRevisionProperty
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
FieldsModifier and TypeFieldDescriptionstatic final String
An "svn:author" revision property (that holds the name of the revision's author).static final String
The presence of this fs revision property indicates that the revision was automatically generated by the mod_dav_svn autoversioning feature.static final String
"svn:sync-currently-copying" revision property.static final String
An "svn:date" revision property that is a date & time stamp representing the time when the revision was created.static final String
"svn:sync-from-url" revision property.static final String
"svn:sync-from-uuid" revision property.static final String
"svn:sync-last-merged-rev" revision property.static final String
"svn:sync-lock" revision property.static final String
An "svn:log" revision property - the one that stores a log message attached to a revision during a commit operation.static final String
The fs revision property that stores a commit's "original" date.private static final Collection
static final 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 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 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 -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isRevisionProperty
(String name) Says if the given revision property name is really a valid revision property name.
-
Field Details
-
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
-
AUTHOR
An "svn:author" revision property (that holds the name of the revision's author).- See Also:
-
LOG
An "svn:log" revision property - the one that stores a log message attached to a revision during a commit operation.- See Also:
-
DATE
An "svn:date" revision property that is a date & time stamp representing the time when the revision was created.- See Also:
-
LOCK
"svn:sync-lock" revision property.- Since:
- 1.1, new in Subversion 1.4
- See Also:
-
FROM_URL
"svn:sync-from-url" revision property.- Since:
- 1.1, new in Subversion 1.4
- See Also:
-
FROM_UUID
"svn:sync-from-uuid" revision property.- Since:
- 1.1, new in Subversion 1.4
- See Also:
-
LAST_MERGED_REVISION
"svn:sync-last-merged-rev" revision property.- Since:
- 1.1, new in Subversion 1.4
- See Also:
-
CURRENTLY_COPYING
"svn:sync-currently-copying" revision property.- Since:
- 1.1, new in Subversion 1.4
- See Also:
-
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
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
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
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
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
-