Subversion
Macros
Ephemeral transaction properties

These are reserved properties attached to a "transaction" object in the repository filesystem in advance of the pre-commit hook script running on the server, but then automatically removed from the transaction before its promotion to a new revision. More...

Macros

#define SVN_PROP_TXN_PREFIX   SVN_PROP_PREFIX "txn-"
 The prefix used for all (ephemeral) transaction properties. More...
 
#define SVN_PROP_TXN_CLIENT_COMPAT_VERSION   SVN_PROP_TXN_PREFIX "client-compat-version"
 Identifies the client version compatibility level. More...
 
#define SVN_PROP_TXN_USER_AGENT   SVN_PROP_TXN_PREFIX "user-agent"
 Identifies the client's user agent string, if any. More...
 
#define SVN_PROP_REVISION_PREFIX   SVN_PROP_PREFIX "revision-"
 The prefix reserved for copies of (ephemeral) transaction properties designed to outlive the transaction. More...
 

Detailed Description

These are reserved properties attached to a "transaction" object in the repository filesystem in advance of the pre-commit hook script running on the server, but then automatically removed from the transaction before its promotion to a new revision.

Macro Definition Documentation

#define SVN_PROP_REVISION_PREFIX   SVN_PROP_PREFIX "revision-"

The prefix reserved for copies of (ephemeral) transaction properties designed to outlive the transaction.

Administrators may choose to, in their pre-commit hook scripts, copy the values of one or more properties named SVN_PROP_TXN_PREFIX + "something" to new properties named SVN_PROP_REVISION_PREFIX + "something", allowing that information to survive the commit-time removal of ephemeral transaction properties.

Since
New in 1.8.

Definition at line 728 of file svn_props.h.

#define SVN_PROP_TXN_CLIENT_COMPAT_VERSION   SVN_PROP_TXN_PREFIX "client-compat-version"

Identifies the client version compatibility level.

For clients compiled against Subversion libraries, this is SVN_VER_NUMBER. Third-party implementations are advised to use similar formatting for values of this property.

Since
New in 1.8.

Definition at line 708 of file svn_props.h.

#define SVN_PROP_TXN_PREFIX   SVN_PROP_PREFIX "txn-"

The prefix used for all (ephemeral) transaction properties.

Since
New in 1.8.

Definition at line 699 of file svn_props.h.

#define SVN_PROP_TXN_USER_AGENT   SVN_PROP_TXN_PREFIX "user-agent"

Identifies the client's user agent string, if any.

Since
New in 1.8.

Definition at line 715 of file svn_props.h.