Functions | |
svn_error_t * | svn_client_propset2 (const char *propname, const svn_string_t *propval, const char *target, svn_boolean_t recurse, svn_boolean_t skip_checks, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Set propname to propval on target. More... | |
svn_error_t * | svn_client_propset (const char *propname, const svn_string_t *propval, const char *target, svn_boolean_t recurse, apr_pool_t *pool) |
Like svn_client_propset2(), but with skip_checks always false and a newly created ctx. More... | |
svn_error_t * | svn_client_revprop_set (const char *propname, const svn_string_t *propval, const char *URL, const svn_opt_revision_t *revision, svn_revnum_t *set_rev, svn_boolean_t force, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Set propname to propval on revision revision in the repository represented by URL. More... | |
svn_error_t * | svn_client_propget2 (apr_hash_t **props, const char *propname, const char *target, const svn_opt_revision_t *peg_revision, const svn_opt_revision_t *revision, svn_boolean_t recurse, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Set *props to a hash table whose keys are `char * ' paths, prefixed by target (a working copy path or a URL), of items on which property propname is set, and whose values are `svn_string_t *' representing the property value for propname at that path. More... | |
svn_error_t * | svn_client_propget (apr_hash_t **props, const char *propname, const char *target, const svn_opt_revision_t *revision, svn_boolean_t recurse, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Similar to svn_client_propget2(), except that the peg revision is always the same as revision. More... | |
svn_error_t * | svn_client_revprop_get (const char *propname, svn_string_t **propval, const char *URL, const svn_opt_revision_t *revision, svn_revnum_t *set_rev, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Set *propval to the value of propname on revision revision in the repository represented by URL. More... | |
svn_error_t * | svn_client_proplist2 (apr_array_header_t **props, const char *target, const svn_opt_revision_t *peg_revision, const svn_opt_revision_t *revision, svn_boolean_t recurse, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Set *props to the regular properties of target, a URL or working copy path. More... | |
svn_error_t * | svn_client_proplist (apr_array_header_t **props, const char *target, const svn_opt_revision_t *revision, svn_boolean_t recurse, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Similar to svn_client_proplist2(), except that the peg revision is always the same as revision. More... | |
svn_error_t * | svn_client_revprop_list (apr_hash_t **props, const char *URL, const svn_opt_revision_t *revision, svn_revnum_t *set_rev, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Set *props to a hash of the revision props attached to revision in the repository represented by URL. More... |
Note that certain svn-controlled properties must always have their values set and stored in UTF8 with LF line endings. When retrieving these properties, callers must convert the values back to native locale and native line-endings before displaying them to the user. For help with this task, see svn_prop_needs_translation(), svn_subst_translate_string(), and svn_subst_detranslate_string().
|
Similar to svn_client_propget2(), except that the peg revision is always the same as revision.
|
|
Set *props to a hash table whose keys are ` Allocate *props, its keys, and its values in pool. Don't store any path, not even target, if it does not have a property named propname.
If revision->kind is If target is a file or recurse is false, *props will have at most one element. If error, don't touch *props, otherwise *props is a hash table even if empty.
|
|
Similar to svn_client_proplist2(), except that the peg revision is always the same as revision.
|
|
Set *props to the regular properties of target, a URL or working copy path.
Each element of the returned array is ( Allocate *props and its contents in pool.
If revision->kind is If recurse is false, or target is a file, *props will contain only a single element. Otherwise, it will contain one element for each versioned entry below (and including) target.
If target is not found, return the error
|
|
Like svn_client_propset2(), but with skip_checks always false and a newly created ctx.
|
|
Set propname to propval on target. If recurse is true, then propname will be set on recursively on target and all children. If recurse is false, and target is a directory, propname will be set on _only_ target.
A propval of
If propname is an svn-controlled property (i.e. prefixed with
If skip_checks is true, do no validity checking. But if skip_checks is false, and propname is not a valid property for target, return an error, either If ctx->cancel_func is non-null, invoke it passing ctx->cancel_baton at various places during the operation. Use pool for all memory allocation.
|
|
Set *propval to the value of propname on revision revision in the repository represented by URL. Use the authentication baton in ctx for authentication, and pool for all memory allocation. Return the actual rev queried in *set_rev. Note that unlike its cousin svn_client_propget(), this routine doesn't affect the working copy at all; it's a pure network operation that queries an *unversioned* property attached to a revision. This can query log messages, dates, authors, and the like. |
|
Set *props to a hash of the revision props attached to revision in the repository represented by URL. Use the authentication baton cached in ctx for authentication, and pool for all memory allocation. Return the actual rev queried in *set_rev.
The allocated hash maps ( Note that unlike its cousin svn_client_proplist(), this routine doesn't read a working copy at all; it's a pure network operation that reads *unversioned* properties attached to a revision. |
|
Set propname to propval on revision revision in the repository represented by URL.
Use the authentication baton in ctx for authentication, and pool for all memory allocation. Return the actual rev affected in *set_rev. A propval of If force is true, allow newlines in the author property.
If propname is an svn-controlled property (i.e. prefixed with Note that unlike its cousin svn_client_propset2(), this routine doesn't affect the working copy at all; it's a pure network operation that changes an *unversioned* property attached to a revision. This can be used to tweak log messages, dates, authors, and the like. Be careful: it's a lossy operation. Also note that unless the administrator creates a pre-revprop-change hook in the repository, this feature will fail. |