PROP_BOOLEAN_TRUE "*" /** The mime-type of a given file. */ #define SVN_PROP_MIME_TYPE SVN_PROP_PREFIX "mime-type" /** The ignore patterns for a given directory. */ #define SVN_PROP_IGNORE SVN_PROP_PREFIX "ignore" /** The line ending style for a given file. */ #define SVN_PROP_EOL_STYLE SVN_PROP_PREFIX "eol-style" /** The "activated" keywords (for keyword substitution) for a given file. */ #define SVN_PROP_KEYWORDS SVN_PROP_PREFIX "keywords" /** Set to either TRUE or FALSE if we want a file to be executable or not. */ #define SVN_PROP_EXECUTABLE SVN_PROP_PREFIX "executable" /** The value to force the executable property to when set. * * @deprecated Provided for backward compatibility with the 1.4 API. * Use @c SVN_PROP_BOOLEAN_TRUE instead. */ #define SVN_PROP_EXECUTABLE_VALUE SVN_PROP_BOOLEAN_TRUE /** Set to TRUE ('*') if we want a file to be set to read-only when * not locked. FALSE is indicated by deleting the property. */ #define SVN_PROP_NEEDS_LOCK SVN_PROP_PREFIX "needs-lock" /** The value to force the needs-lock property to when set. * * @deprecated Provided for backward compatibility with the 1.4 API. * Use @c SVN_PROP_BOOLEAN_TRUE instead. */ #define SVN_PROP_NEEDS_LOCK_VALUE SVN_PROP_BOOLEAN_TRUE /** Set if the file should be treated as a special file. */ #define SVN_PROP_SPECIAL SVN_PROP_PREFIX "special" /** The value to force the special property to when set. * * @deprecated Provided for backward compatibility with the 1.4 API. * Use @c SVN_PROP_BOOLEAN_TRUE instead. */ #define SVN_PROP_SPECIAL_VALUE SVN_PROP_BOOLEAN_TRUE /** Describes external items to check out into this directory. * * The format is a series of lines, each in the following format: * * [-r REV] URL[@PEG] LOCALPATH * * LOCALPATH is relative to the directory having this property. * REV pins the external to revision REV. * URL may be a full URL or a relative URL starting with one of: * * ../ to the parent directory of the extracted external * ^/ to the repository root * / to the server root * // to the URL scheme * * The following format is supported for interoperability with * Subversion 1.4 and earlier clients: * * LOCALPATH [-r PEG] URL * * The ambiguous format 'relative_path relative_path' is taken as * 'relative_url relative_path' with peg revision support. * * Lines starting with a '#' character are ignored. */ #define SVN_PROP_EXTERNALS SVN_PROP_PREFIX "externals" /** Merge info property used to record a resource's merge history. * * The format is a series of lines containing merge paths and revision * ranges, such as: * * @verbatim /trunk: 1-6,9,37-38 /trunk/foo: 10 @endverbatim * @since New in 1.5. */ #define SVN_PROP_MERGEINFO SVN_PROP_PREFIX "mergeinfo" /** Property used to record inheritable configuration auto-props. * * @since New in 1.8. */ #define SVN_PROP_INHERITABLE_AUTO_PROPS SVN_PROP_PREFIX "auto-props" /** Property used to record inheritable configuration ignores. * * @since New in 1.8. */ #define SVN_PROP_INHERITABLE_IGNORES SVN_PROP_PREFIX "global-ignores" /** Meta-data properties. * * The following properties are used for storing meta-data about * individual entries in the meta-data branches of subversion, * see issue #1256 or browseable at * http://svn.apache.org/viewvc/subversion/branches/meta-data-versioning/ . * Furthermore @c svntar (http://svn.borg.ch/svntar/) and @c FSVS * (http://fsvs.tigris.org/) use these, too. * * Please note that these formats are very UNIX-centric currently; * a bit of discussion about Windows can be read at * http://article.gmane.org/gmane.comp.version-control.subversion.devel/103991 * * @defgroup svn_prop_meta_data Meta-data properties * @{ */ /** The files' last modification time. * This is stored as string in the form @c "2008-08-07T07:38:51.008782Z", to * be converted by the functions @c svn_time_to_cstring() and * @c svn_time_from_cstring(). * * @note This property name is reserved for future usage, but currently unused. * * @since New in 1.6. */ #define SVN_PROP_TEXT_TIME SVN_PROP_PREFIX "text-time" /** The files' owner. * Stored as numeric ID, optionally followed by whitespace and the string: * @c "1000 pmarek". Parsers @b should accept any number of whitespace, * and writers @b should put exactly a single space. * * @note This property name is reserved for future usage, but currently unused. * * @since New in 1.6. */ #define SVN_PROP_OWNER SVN_PROP_PREFIX "owner" /** The files' group. * The same format as for @c SVN_PROP_OWNER, the owner-property. * * @note This property name is reserved for future usage, but currently unused. * * @since New in 1.6. */ #define SVN_PROP_GROUP SVN_PROP_PREFIX "group" /** The files' unix-mode. * Stored in octal, with a leading @c 0; may have 5 digits if any of @c setuid, * @c setgid or @c sticky are set; an example is @c "0644". * * @note This property name is reserved for future usage, but currently unused. * * @since New in 1.6. */ #define SVN_PROP_UNIX_MODE SVN_PROP_PREFIX "unix-mode" /** @} */ /* Meta-data properties */ /** * This is a list of all user-visible and -settable versioned node * properties. * * @since New in 1.8. */ #define SVN_PROP_NODE_ALL_PROPS SVN_PROP_MIME_TYPE, \ SVN_PROP_IGNORE, \ SVN_PROP_EOL_STYLE, \ SVN_PROP_KEYWORDS, \ SVN_PROP_EXECUTABLE, \ SVN_PROP_NEEDS_LOCK, \ SVN_PROP_SPECIAL, \ SVN_PROP_EXTERNALS, \ SVN_PROP_MERGEINFO, \ SVN_PROP_INHERITABLE_AUTO_PROPS, \ SVN_PROP_INHERITABLE_IGNORES, \ \ SVN_PROP_TEXT_TIME, \ SVN_PROP_OWNER, \ SVN_PROP_GROUP, \ SVN_PROP_UNIX_MODE, /** @} */ /** WC props are props that are invisible to users: they're generated * by an RA layer, and stored in secret parts of .svn/. * * @defgroup svn_prop_invisible_props Invisible properties * @{ */ /** The property name *prefix* that makes a property a "WC property". * * For example, WebDAV RA implementations might store a versioned-resource * url as a WC prop like this: * *
      name = svn:wc:dav_url
      val  = http://www.example.com/repos/452348/e.289 
* * The client will try to protect WC props by warning users against * changing them. The client will also send them back to the RA layer * when committing. */ #define SVN_PROP_WC_PREFIX SVN_PROP_PREFIX "wc:" /** Another type of non-user-visible property. "Entry properties" are * stored as fields with the administrative 'entries' file. */ #define SVN_PROP_ENTRY_PREFIX SVN_PROP_PREFIX "entry:" /** The revision this entry was last committed to on. */ #define SVN_PROP_ENTRY_COMMITTED_REV SVN_PROP_ENTRY_PREFIX "committed-rev" /** The date this entry was last committed to on. */ #define SVN_PROP_ENTRY_COMMITTED_DATE SVN_PROP_ENTRY_PREFIX "committed-date" /** The author who last committed to this entry. */ #define SVN_PROP_ENTRY_LAST_AUTHOR SVN_PROP_ENTRY_PREFIX "last-author" /** The UUID of this entry's repository. */ #define SVN_PROP_ENTRY_UUID SVN_PROP_ENTRY_PREFIX "uuid" /** The lock token for this entry. * @since New in 1.2. */ #define SVN_PROP_ENTRY_LOCK_TOKEN SVN_PROP_ENTRY_PREFIX "lock-token" /** When custom, user-defined properties are passed over the wire, they will * have this prefix added to their name. */ #define SVN_PROP_CUSTOM_PREFIX SVN_PROP_PREFIX "custom:" /** @} */ /** * These are reserved properties attached to a "revision" object in * the repository filesystem. They can be queried by using * svn_fs_revision_prop(). * * @defgroup svn_props_revision_props Revision properties * @{ */ /** The fs revision property that stores a commit's author. */ #define SVN_PROP_REVISION_AUTHOR SVN_PROP_PREFIX "author" /** The fs revision property that stores a commit's log message. */ #define SVN_PROP_REVISION_LOG SVN_PROP_PREFIX "log" /** The fs revision property that stores a commit's date. */ #define SVN_PROP_REVISION_DATE SVN_PROP_PREFIX "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. */ #define SVN_PROP_REVISION_ORIG_DATE SVN_PROP_PREFIX "original-date" /** 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. */ #define SVN_PROP_REVISION_AUTOVERSIONED SVN_PROP_PREFIX "autoversioned" /* More reserved revision props in the 'svn:' namespace, used by the svnsync tool: */ /** Prefix for all svnsync custom properties. * @since New in 1.4. */ #define SVNSYNC_PROP_PREFIX SVN_PROP_PREFIX "sync-" /* The following revision properties are set on revision 0 of * destination repositories by svnsync: */ /** Used to enforce mutually exclusive destination repository access. * @since New in 1.4. */ #define SVNSYNC_PROP_LOCK SVNSYNC_PROP_PREFIX "lock" /** Identifies the repository's source URL. * @since New in 1.4. */ #define SVNSYNC_PROP_FROM_URL SVNSYNC_PROP_PREFIX "from-url" /** Identifies the repository's source UUID. * @since New in 1.4. */ #define SVNSYNC_PROP_FROM_UUID SVNSYNC_PROP_PREFIX "from-uuid" /** Identifies the last completely mirrored revision. * @since New in 1.4. */ #define SVNSYNC_PROP_LAST_MERGED_REV SVNSYNC_PROP_PREFIX "last-merged-rev" /** Identifies the revision currently being copied. * @since New in 1.4. */ #define SVNSYNC_PROP_CURRENTLY_COPYING SVNSYNC_PROP_PREFIX "currently-copying" /** * This is a list of all revision properties. */ #define SVN_PROP_REVISION_ALL_PROPS SVN_PROP_REVISION_AUTHOR, \ SVN_PROP_REVISION_LOG, \ SVN_PROP_REVISION_DATE, \ SVN_PROP_REVISION_AUTOVERSIONED, \ SVN_PROP_REVISION_ORIG_DATE, \ SVNSYNC_PROP_LOCK, \ SVNSYNC_PROP_FROM_URL, \ SVNSYNC_PROP_FROM_UUID, \ SVNSYNC_PROP_LAST_MERGED_REV, \ SVNSYNC_PROP_CURRENTLY_COPYING, /** @} */ /** * 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. * * @defgroup svn_props_ephemeral_txnprops Ephemeral transaction properties * @{ */ /** The prefix used for all (ephemeral) transaction properties. * * @since New in 1.8. */ #define SVN_PROP_TXN_PREFIX SVN_PROP_PREFIX "txn-" /** Identifies the client version compatibility level. For clients * compiled against Subversion libraries, this is @c SVN_VER_NUMBER. * Third-party implementations are advised to use similar formatting * for values of this property. * * @since New in 1.8. */ #define SVN_PROP_TXN_CLIENT_COMPAT_VERSION \ SVN_PROP_TXN_PREFIX "client-compat-version" /** Identifies the client's user agent string, if any. * * @since New in 1.8. */ #define SVN_PROP_TXN_USER_AGENT \ SVN_PROP_TXN_PREFIX "user-agent" /** 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 @c SVN_PROP_TXN_PREFIX + "something" * to new properties named @c SVN_PROP_REVISION_PREFIX + "something", * allowing that information to survive the commit-time removal of * ephemeral transaction properties. * * @since New in 1.8. */ #define SVN_PROP_REVISION_PREFIX SVN_PROP_PREFIX "revision-" /** @} */ /** @} */