GME  13
Defines
Ephemeral transaction properties
Properties management utilities
Collaboration diagram for Ephemeral transaction properties:

Defines

#define SVN_PROP_TXN_PREFIX   SVN_PROP_PREFIX "txn-"
#define SVN_PROP_TXN_CLIENT_COMPAT_VERSION   SVN_PROP_TXN_PREFIX "client-compat-version"
#define SVN_PROP_TXN_USER_AGENT   SVN_PROP_TXN_PREFIX "user-agent"
#define SVN_PROP_REVISION_PREFIX   SVN_PROP_PREFIX "revision-"

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.


Define 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 701 of file svn_props.h.

#define SVN_PROP_TXN_CLIENT_COMPAT_VERSION   SVN_PROP_TXN_PREFIX "client-compat-version"

Identifies the client version compability 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 681 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 672 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 688 of file svn_props.h.