Functions | |
svn_error_t * | svn_client_propset3 (svn_commit_info_t **commit_info_p, const char *propname, const svn_string_t *propval, const char *target, svn_depth_t depth, svn_boolean_t skip_checks, svn_revnum_t base_revision_for_url, const apr_array_header_t *changelists, const apr_hash_t *revprop_table, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Set propname to propval on target. | |
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) |
Like svn_client_propset3(), but with base_revision_for_url always SVN_INVALID_REVNUM ; commit_info_p always NULL ; changelists always NULL ; revprop_table always NULL ; and depth set according to recurse: if recurse is TRUE, depth is svn_depth_infinity , else svn_depth_empty . | |
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. | |
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. | |
svn_error_t * | svn_client_propget3 (apr_hash_t **props, const char *propname, const char *target, const svn_opt_revision_t *peg_revision, const svn_opt_revision_t *revision, svn_revnum_t *actual_revnum, svn_depth_t depth, const apr_array_header_t *changelists, 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. | |
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) |
Similar to svn_client_propget3(), except that actual_revnum and changelists are always NULL , and depth is set according to recurse: if recurse is TRUE, then depth is svn_depth_infinity , else svn_depth_empty . | |
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 peg_revision is always the same as revision. | |
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. | |
svn_error_t * | svn_client_proplist3 (const char *target, const svn_opt_revision_t *peg_revision, const svn_opt_revision_t *revision, svn_depth_t depth, const apr_array_header_t *changelists, svn_proplist_receiver_t receiver, void *receiver_baton, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Invoke receiver with receiver_baton to return the regular properies of target, a URL or working copy path. | |
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) |
Similar to svn_client_proplist3(), except the properties are returned as an array of svn_client_proplist_item_t * structures instead of by invoking the receiver function, there's no support for changelists filtering, and recurse is used instead of a svn_depth_t parameter (FALSE corresponds to svn_depth_empty , and TRUE to svn_depth_infinity ). | |
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 peg_revision is always the same as revision. | |
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. |
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 peg_revision is always the same as revision.
|
|
Similar to svn_client_propget3(), except that actual_revnum and changelists are always
|
|
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 depth is
changelists is an array of If error, don't touch *props, otherwise *props is a hash table even if empty.
|
|
Similar to svn_client_proplist2(), except that peg_revision is always the same as revision.
|
|
Similar to svn_client_proplist3(), except the properties are returned as an array of
|
|
Invoke receiver with receiver_baton to return the regular properies of target, a URL or working copy path. receiver will be called for each path encountered.
If revision->kind is
If depth is
changelists is an array of
If target is not found, return the error
|
|
Like svn_client_propset2(), but with skip_checks always FALSE and a newly created ctx.
|
|
Like svn_client_propset3(), but with base_revision_for_url always
|
|
Set propname to propval on target.
A propval of
If depth is
The target may only be an URL if base_revision_for_url is not
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
changelists is an array of
If non-NULL, revprop_table is a hash table holding additional, custom revision properties ( 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_propset3(), 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. |