#include <apr_tables.h>
#include "svn_types.h"
#include "svn_wc.h"
#include "svn_string.h"
#include "svn_error.h"
#include "svn_opt.h"
#include "svn_version.h"
#include "svn_ra.h"
Go to the source code of this file.
Data Structures | |
struct | svn_client_commit_info_t |
Information about commits passed back to client from this module. More... | |
struct | svn_client_commit_item2_t |
The commit candidate structure. More... | |
struct | svn_client_commit_item_t |
The commit candidate structure. More... | |
struct | svn_client_ctx_t |
A client context structure, which holds client specific callbacks, batons, serves as a cache for configuration options, and other various and sundry things. More... | |
struct | svn_client_proplist_item_t |
This is a structure which stores a filename and a hash of property names and values. More... | |
struct | svn_info_t |
A structure which describes various system-generated metadata about a working-copy path or URL. More... | |
Commit state flags | |
State flags for use with the svn_client_commit_item2_t structure (see the note about the namespace for that structure, which also applies to these flags). | |
#define | SVN_CLIENT_COMMIT_ITEM_ADD 0x01 |
#define | SVN_CLIENT_COMMIT_ITEM_DELETE 0x02 |
#define | SVN_CLIENT_COMMIT_ITEM_TEXT_MODS 0x04 |
#define | SVN_CLIENT_COMMIT_ITEM_PROP_MODS 0x08 |
#define | SVN_CLIENT_COMMIT_ITEM_IS_COPY 0x10 |
#define | SVN_CLIENT_COMMIT_ITEM_LOCK_TOKEN 0x20 |
| |
Authentication information file names | |
Names of files that contain authentication information.
These filenames are decided by libsvn_client, since this library implements all the auth-protocols; libsvn_wc does nothing but blindly store and retrieve these files from protected areas. | |
#define | SVN_CLIENT_AUTH_USERNAME "username" |
#define | SVN_CLIENT_AUTH_PASSWORD "password" |
Typedefs | |
typedef svn_client_proplist_item_t | svn_client_proplist_item_t |
This is a structure which stores a filename and a hash of property names and values. | |
typedef svn_client_commit_info_t | svn_client_commit_info_t |
Information about commits passed back to client from this module. | |
typedef svn_client_commit_item2_t | svn_client_commit_item2_t |
The commit candidate structure. | |
typedef svn_client_commit_item_t | svn_client_commit_item_t |
The commit candidate structure. | |
typedef svn_error_t *(* | svn_client_get_commit_log2_t )(const char **log_msg, const char **tmp_file, const apr_array_header_t *commit_items, void *baton, apr_pool_t *pool) |
Callback type used by commit-y operations to get a commit log message from the caller. | |
typedef svn_error_t *(* | svn_client_get_commit_log_t )(const char **log_msg, const char **tmp_file, apr_array_header_t *commit_items, void *baton, apr_pool_t *pool) |
Callback type used by commit-y operations to get a commit log message from the caller. | |
typedef svn_error_t *(* | svn_client_blame_receiver_t )(void *baton, apr_int64_t line_no, svn_revnum_t revision, const char *author, const char *date, const char *line, apr_pool_t *pool) |
Callback type used by svn_client_blame() to notify the caller that line line_no of the blamed file was last changed in revision by author on date, and that the contents were line. | |
typedef svn_client_ctx_t | svn_client_ctx_t |
A client context structure, which holds client specific callbacks, batons, serves as a cache for configuration options, and other various and sundry things. | |
typedef svn_info_t | svn_info_t |
A structure which describes various system-generated metadata about a working-copy path or URL. | |
typedef svn_error_t *(* | svn_info_receiver_t )(void *baton, const char *path, const svn_info_t *info, apr_pool_t *pool) |
The callback invoked by svn_client_info(). | |
Functions | |
const svn_version_t * | svn_client_version (void) |
Get libsvn_client version information. | |
void | svn_client_get_simple_prompt_provider (svn_auth_provider_object_t **provider, svn_auth_simple_prompt_func_t prompt_func, void *prompt_baton, int retry_limit, apr_pool_t *pool) |
Create and return *provider, an authentication provider of type svn_auth_cred_simple_t that gets information by prompting the user with prompt_func and prompt_baton. | |
void | svn_client_get_username_prompt_provider (svn_auth_provider_object_t **provider, svn_auth_username_prompt_func_t prompt_func, void *prompt_baton, int retry_limit, apr_pool_t *pool) |
Create and return *provider, an authentication provider of type svn_auth_cred_username_t that gets information by prompting the user with prompt_func and prompt_baton. | |
void | svn_client_get_simple_provider (svn_auth_provider_object_t **provider, apr_pool_t *pool) |
Create and return *provider, an authentication provider of type svn_auth_cred_simple_t that gets/sets information from the user's ~/.subversion configuration directory. | |
void | svn_client_get_windows_simple_provider (svn_auth_provider_object_t **provider, apr_pool_t *pool) |
Create and return *provider, an authentication provider of type svn_auth_cred_simple_t that gets/sets information from the user's ~/.subversion configuration directory. | |
void | svn_client_get_username_provider (svn_auth_provider_object_t **provider, apr_pool_t *pool) |
Create and return *provider, an authentication provider of type svn_auth_cred_username_t that gets/sets information from a user's ~/.subversion configuration directory. | |
void | svn_client_get_ssl_server_trust_file_provider (svn_auth_provider_object_t **provider, apr_pool_t *pool) |
Create and return *provider, an authentication provider of type svn_auth_cred_ssl_server_trust_t , allocated in pool. | |
void | svn_client_get_ssl_client_cert_file_provider (svn_auth_provider_object_t **provider, apr_pool_t *pool) |
Create and return *provider, an authentication provider of type svn_auth_cred_ssl_client_cert_t , allocated in pool. | |
void | svn_client_get_ssl_client_cert_pw_file_provider (svn_auth_provider_object_t **provider, apr_pool_t *pool) |
Create and return *provider, an authentication provider of type svn_auth_cred_ssl_client_cert_pw_t , allocated in pool. | |
void | svn_client_get_ssl_server_trust_prompt_provider (svn_auth_provider_object_t **provider, svn_auth_ssl_server_trust_prompt_func_t prompt_func, void *prompt_baton, apr_pool_t *pool) |
Create and return *provider, an authentication provider of type svn_auth_cred_ssl_server_trust_t , allocated in pool. | |
void | svn_client_get_ssl_client_cert_prompt_provider (svn_auth_provider_object_t **provider, svn_auth_ssl_client_cert_prompt_func_t prompt_func, void *prompt_baton, int retry_limit, apr_pool_t *pool) |
Create and return *provider, an authentication provider of type svn_auth_cred_ssl_client_cert_t , allocated in pool. | |
void | svn_client_get_ssl_client_cert_pw_prompt_provider (svn_auth_provider_object_t **provider, svn_auth_ssl_client_cert_pw_prompt_func_t prompt_func, void *prompt_baton, int retry_limit, apr_pool_t *pool) |
Create and return *provider, an authentication provider of type svn_auth_cred_ssl_client_cert_pw_t , allocated in pool. | |
svn_client_proplist_item_t * | svn_client_proplist_item_dup (const svn_client_proplist_item_t *item, apr_pool_t *pool) |
Return a duplicate of item, allocated in pool. | |
svn_client_commit_item2_t * | svn_client_commit_item2_dup (const svn_client_commit_item2_t *item, apr_pool_t *pool) |
Return a duplicate of item, allocated in pool. | |
svn_error_t * | svn_client_create_context (svn_client_ctx_t **ctx, apr_pool_t *pool) |
Initialize a client context. | |
svn_error_t * | svn_client_checkout2 (svn_revnum_t *result_rev, const char *URL, const char *path, const svn_opt_revision_t *peg_revision, const svn_opt_revision_t *revision, svn_boolean_t recurse, svn_boolean_t ignore_externals, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Checkout a working copy of URL at revision, looked up at peg_revision, using path as the root directory of the newly checked out working copy, and authenticating with the authentication baton cached in ctx. | |
svn_error_t * | svn_client_checkout (svn_revnum_t *result_rev, const char *URL, const char *path, const svn_opt_revision_t *revision, svn_boolean_t recurse, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Similar to svn_client_checkout2(), but with the peg_revision parameter always set to svn_opt_revision_unspecified and ignore_externals always set to FALSE . | |
svn_error_t * | svn_client_update2 (apr_array_header_t **result_revs, const apr_array_header_t *paths, const svn_opt_revision_t *revision, svn_boolean_t recurse, svn_boolean_t ignore_externals, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Update working trees paths to revision, authenticating with the authentication baton cached in ctx. | |
svn_error_t * | svn_client_update (svn_revnum_t *result_rev, const char *path, const svn_opt_revision_t *revision, svn_boolean_t recurse, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Similar to svn_client_update2() except that it accepts only a single target in path, returns a single revision if result_rev is not NULL, and ignore_externals is always set to FALSE . | |
svn_error_t * | svn_client_switch (svn_revnum_t *result_rev, const char *path, const char *url, const svn_opt_revision_t *revision, svn_boolean_t recurse, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Switch working tree path to url at revision, authenticating with the authentication baton cached in ctx. | |
svn_error_t * | svn_client_add3 (const char *path, svn_boolean_t recursive, svn_boolean_t force, svn_boolean_t no_ignore, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Schedule a working copy path for addition to the repository. | |
svn_error_t * | svn_client_add2 (const char *path, svn_boolean_t recursive, svn_boolean_t force, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Similar to svn_client_add3(), but with the no_ignore parameter always set to FALSE . | |
svn_error_t * | svn_client_add (const char *path, svn_boolean_t recursive, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Similar to svn_client_add2(), but with the force parameter always set to FALSE . | |
svn_error_t * | svn_client_mkdir2 (svn_commit_info_t **commit_info_p, const apr_array_header_t *paths, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Create a directory, either in a repository or a working copy. | |
svn_error_t * | svn_client_mkdir (svn_client_commit_info_t **commit_info_p, const apr_array_header_t *paths, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Same as svn_client_mkdir2(), but takes the svn_client_commit_info_t for commit_info_p. | |
svn_error_t * | svn_client_delete2 (svn_commit_info_t **commit_info_p, const apr_array_header_t *paths, svn_boolean_t force, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Delete items from a repository or working copy. | |
svn_error_t * | svn_client_delete (svn_client_commit_info_t **commit_info_p, const apr_array_header_t *paths, svn_boolean_t force, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Similar to svn_client_delete2(), but takes svn_client_commit_info_t for commit_info_p. | |
svn_error_t * | svn_client_import2 (svn_commit_info_t **commit_info_p, const char *path, const char *url, svn_boolean_t nonrecursive, svn_boolean_t no_ignore, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Import file or directory path into repository directory url at head, authenticating with the authentication baton cached in ctx, and using ctx->log_msg_func/@a ctx->log_msg_baton to get a log message for the (implied) commit. | |
svn_error_t * | svn_client_import (svn_client_commit_info_t **commit_info_p, const char *path, const char *url, svn_boolean_t nonrecursive, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Similar to svn_client_import2(), but with the no_ignore parameter always set to FALSE and using svn_client_commit_info_t for commit_info_p. | |
svn_error_t * | svn_client_commit3 (svn_commit_info_t **commit_info_p, const apr_array_header_t *targets, svn_boolean_t recurse, svn_boolean_t keep_locks, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Commit files or directories into repository, authenticating with the authentication baton cached in ctx, and using ctx->log_msg_func/@a ctx->log_msg_baton to obtain the log message. | |
svn_error_t * | svn_client_commit2 (svn_client_commit_info_t **commit_info_p, const apr_array_header_t *targets, svn_boolean_t recurse, svn_boolean_t keep_locks, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Similar to svn_client_commit3(), but uses svn_client_commit_info_t for commit_info_p. | |
svn_error_t * | svn_client_commit (svn_client_commit_info_t **commit_info_p, const apr_array_header_t *targets, svn_boolean_t nonrecursive, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Similar to svn_client_commit2(), but with keep_locks set to true and a nonrecursive argument instead of "recurse". | |
svn_error_t * | svn_client_status2 (svn_revnum_t *result_rev, const char *path, const svn_opt_revision_t *revision, svn_wc_status_func2_t status_func, void *status_baton, svn_boolean_t recurse, svn_boolean_t get_all, svn_boolean_t update, svn_boolean_t no_ignore, svn_boolean_t ignore_externals, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Given path to a working copy directory (or single file), call status_func/status_baton with a set of svn_wc_status_t * structures which describe the status of path and its children. | |
svn_error_t * | svn_client_status (svn_revnum_t *result_rev, const char *path, svn_opt_revision_t *revision, svn_wc_status_func_t status_func, void *status_baton, svn_boolean_t recurse, svn_boolean_t get_all, svn_boolean_t update, svn_boolean_t no_ignore, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Similar to svn_client_status2(), but with the ignore_externals parameter always set to FALSE , and taking a deprecated svn_wc_status_func_t argument, and requiring *revision to be non-const even though it is treated as constant. | |
svn_error_t * | svn_client_log2 (const apr_array_header_t *targets, const svn_opt_revision_t *start, const svn_opt_revision_t *end, int limit, svn_boolean_t discover_changed_paths, svn_boolean_t strict_node_history, svn_log_message_receiver_t receiver, void *receiver_baton, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Invoke receiver with receiver_baton on each log message from start to end in turn, inclusive (but never invoke receiver on a given log message more than once). | |
svn_error_t * | svn_client_log (const apr_array_header_t *targets, const svn_opt_revision_t *start, const svn_opt_revision_t *end, svn_boolean_t discover_changed_paths, svn_boolean_t strict_node_history, svn_log_message_receiver_t receiver, void *receiver_baton, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Similar to svn_client_log2(), but with the limit parameter set to 0, and the following special case:. | |
svn_error_t * | svn_client_blame2 (const char *path_or_url, const svn_opt_revision_t *peg_revision, const svn_opt_revision_t *start, const svn_opt_revision_t *end, svn_client_blame_receiver_t receiver, void *receiver_baton, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Invoke receiver with receiver_baton on each line-blame item associated with revision end of path_or_url, using start as the default source of all blame. | |
svn_error_t * | svn_client_blame (const char *path_or_url, const svn_opt_revision_t *start, const svn_opt_revision_t *end, svn_client_blame_receiver_t receiver, void *receiver_baton, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Similar to svn_client_blame() except that peg_revision is always the same as end. | |
svn_error_t * | svn_client_diff3 (const apr_array_header_t *diff_options, const char *path1, const svn_opt_revision_t *revision1, const char *path2, const svn_opt_revision_t *revision2, svn_boolean_t recurse, svn_boolean_t ignore_ancestry, svn_boolean_t no_diff_deleted, svn_boolean_t ignore_content_type, const char *header_encoding, apr_file_t *outfile, apr_file_t *errfile, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Produce diff output which describes the delta between path1/@a revision1 and path2/@a revision2. | |
svn_error_t * | svn_client_diff2 (const apr_array_header_t *diff_options, const char *path1, const svn_opt_revision_t *revision1, const char *path2, const svn_opt_revision_t *revision2, svn_boolean_t recurse, svn_boolean_t ignore_ancestry, svn_boolean_t no_diff_deleted, svn_boolean_t ignore_content_type, apr_file_t *outfile, apr_file_t *errfile, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Similar to svn_client_diff3(), but with header_encoding set to APR_LOCALE_CHARSET . | |
svn_error_t * | svn_client_diff (const apr_array_header_t *diff_options, const char *path1, const svn_opt_revision_t *revision1, const char *path2, const svn_opt_revision_t *revision2, svn_boolean_t recurse, svn_boolean_t ignore_ancestry, svn_boolean_t no_diff_deleted, apr_file_t *outfile, apr_file_t *errfile, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Similar to svn_client_diff2(), but with the ignore_content_type parameter always set to FALSE . | |
svn_error_t * | svn_client_diff_peg3 (const apr_array_header_t *diff_options, const char *path, const svn_opt_revision_t *peg_revision, const svn_opt_revision_t *start_revision, const svn_opt_revision_t *end_revision, svn_boolean_t recurse, svn_boolean_t ignore_ancestry, svn_boolean_t no_diff_deleted, svn_boolean_t ignore_content_type, const char *header_encoding, apr_file_t *outfile, apr_file_t *errfile, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Produce diff output which describes the delta between the filesystem object path in peg revision peg_revision, as it changed between start_revision and end_revision. | |
svn_error_t * | svn_client_diff_peg2 (const apr_array_header_t *diff_options, const char *path, const svn_opt_revision_t *peg_revision, const svn_opt_revision_t *start_revision, const svn_opt_revision_t *end_revision, svn_boolean_t recurse, svn_boolean_t ignore_ancestry, svn_boolean_t no_diff_deleted, svn_boolean_t ignore_content_type, apr_file_t *outfile, apr_file_t *errfile, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Similar to svn_client_diff_peg3(), but with header_encoding set to APR_LOCALE_CHARSET . | |
svn_error_t * | svn_client_diff_peg (const apr_array_header_t *diff_options, const char *path, const svn_opt_revision_t *peg_revision, const svn_opt_revision_t *start_revision, const svn_opt_revision_t *end_revision, svn_boolean_t recurse, svn_boolean_t ignore_ancestry, svn_boolean_t no_diff_deleted, apr_file_t *outfile, apr_file_t *errfile, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Similar to svn_client_diff_peg2(), but with the ignore_content_type parameter always set to FALSE . | |
svn_error_t * | svn_client_merge (const char *source1, const svn_opt_revision_t *revision1, const char *source2, const svn_opt_revision_t *revision2, const char *target_wcpath, svn_boolean_t recurse, svn_boolean_t ignore_ancestry, svn_boolean_t force, svn_boolean_t dry_run, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Merge changes from source1/@a revision1 to source2/@a revision2 into the working-copy path target_wcpath. | |
svn_error_t * | svn_client_merge_peg (const char *source, const svn_opt_revision_t *revision1, const svn_opt_revision_t *revision2, const svn_opt_revision_t *peg_revision, const char *target_wcpath, svn_boolean_t recurse, svn_boolean_t ignore_ancestry, svn_boolean_t force, svn_boolean_t dry_run, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Merge the changes between the filesystem object source in peg revision peg_revision, as it changed between revision1 and revision2. | |
svn_error_t * | svn_client_cleanup (const char *dir, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Recursively cleanup a working copy directory dir, finishing any incomplete operations, removing lockfiles, etc. | |
svn_error_t * | svn_client_relocate (const char *dir, const char *from, const char *to, svn_boolean_t recurse, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Modify a working copy directory dir, changing any repository URLs that begin with from to begin with to instead, recursing into subdirectories if recurse is true. | |
svn_error_t * | svn_client_revert (const apr_array_header_t *paths, svn_boolean_t recursive, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Restore the pristine version of a working copy paths, effectively undoing any local mods. | |
svn_error_t * | svn_client_resolved (const char *path, svn_boolean_t recursive, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Remove the 'conflicted' state on a working copy path. | |
svn_error_t * | svn_client_copy2 (svn_commit_info_t **commit_info_p, const char *src_path, const svn_opt_revision_t *src_revision, const char *dst_path, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Copy src_path to dst_path. | |
svn_error_t * | svn_client_copy (svn_client_commit_info_t **commit_info_p, const char *src_path, const svn_opt_revision_t *src_revision, const char *dst_path, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Similar to svn_client_copy2(), but uses svn_client_commit_info_t for commit_info_p. | |
svn_error_t * | svn_client_move3 (svn_commit_info_t **commit_info_p, const char *src_path, const char *dst_path, svn_boolean_t force, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Move src_path to dst_path. | |
svn_error_t * | svn_client_move2 (svn_client_commit_info_t **commit_info_p, const char *src_path, const char *dst_path, svn_boolean_t force, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Similar to svn_client_move3(), but uses svn_client_commit_info_t for commit_info_p. | |
svn_error_t * | svn_client_move (svn_client_commit_info_t **commit_info_p, const char *src_path, const svn_opt_revision_t *src_revision, const char *dst_path, svn_boolean_t force, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Similar to svn_client_move2(), but an extra argument src_revision must be passed. | |
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. | |
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_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. | |
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. | |
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_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. | |
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. | |
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. | |
svn_error_t * | svn_client_export3 (svn_revnum_t *result_rev, const char *from, const char *to, const svn_opt_revision_t *peg_revision, const svn_opt_revision_t *revision, svn_boolean_t overwrite, svn_boolean_t ignore_externals, svn_boolean_t recurse, const char *native_eol, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Export the contents of either a subversion repository or a subversion working copy into a 'clean' directory (meaning a directory with no administrative directories). | |
svn_error_t * | svn_client_export2 (svn_revnum_t *result_rev, const char *from, const char *to, svn_opt_revision_t *revision, svn_boolean_t force, const char *native_eol, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Similar to svn_client_export3(), but with the peg_revision parameter always set to svn_opt_revision_unspecified , overwrite set to the value of force, ignore_externals always false, and recurse always true. | |
svn_error_t * | svn_client_export (svn_revnum_t *result_rev, const char *from, const char *to, svn_opt_revision_t *revision, svn_boolean_t force, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Similar to svn_client_export2(), but with the native_eol parameter always set to NULL . | |
svn_error_t * | svn_client_ls3 (apr_hash_t **dirents, apr_hash_t **locks, const char *path_or_url, 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 *dirents to a newly allocated hash of entries for path_or_url at revision. | |
svn_error_t * | svn_client_ls2 (apr_hash_t **dirents, const char *path_or_url, 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) |
Same as svn_client_ls3(), but always passes a NULL lock hash. | |
svn_error_t * | svn_client_ls (apr_hash_t **dirents, const char *path_or_url, svn_opt_revision_t *revision, svn_boolean_t recurse, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Similar to svn_client_ls2() except that the peg revision is always the same as revision. | |
svn_error_t * | svn_client_cat2 (svn_stream_t *out, const char *path_or_url, const svn_opt_revision_t *peg_revision, const svn_opt_revision_t *revision, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Output the content of file identified by path_or_url and revision to the stream out. | |
svn_error_t * | svn_client_cat (svn_stream_t *out, const char *path_or_url, const svn_opt_revision_t *revision, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Similar to svn_client_cat2() except that the peg revision is always the same as revision. | |
svn_error_t * | svn_client_lock (const apr_array_header_t *targets, const char *comment, svn_boolean_t steal_lock, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Lock targets in the repository. | |
svn_error_t * | svn_client_unlock (const apr_array_header_t *targets, svn_boolean_t break_lock, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Unlock targets in the repository. | |
svn_info_t * | svn_info_dup (const svn_info_t *info, apr_pool_t *pool) |
Return a duplicate of info, allocated in pool. | |
svn_error_t * | svn_client_info (const char *path_or_url, const svn_opt_revision_t *peg_revision, const svn_opt_revision_t *revision, svn_info_receiver_t receiver, void *receiver_baton, svn_boolean_t recurse, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Invoke receiver with receiver_baton to return information about path_or_url in revision. | |
svn_error_t * | svn_client_url_from_path (const char **url, const char *path_or_url, apr_pool_t *pool) |
Set *url to the URL for path_or_url. | |
svn_error_t * | svn_client_uuid_from_url (const char **uuid, const char *url, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Get repository uuid for url. | |
svn_error_t * | svn_client_uuid_from_path (const char **uuid, const char *path, svn_wc_adm_access_t *adm_access, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Return the repository uuid for working-copy path, allocated in pool. | |
svn_error_t * | svn_client_open_ra_session (svn_ra_session_t **session, const char *url, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Open an RA session rooted at url, and return it in *session. |
Definition in file svn_client.h.
|
Callback type used by svn_client_blame() to notify the caller that line line_no of the blamed file was last changed in revision by author on date, and that the contents were line. All allocations should be performed in pool.
Definition at line 462 of file svn_client.h. |
|
Information about commits passed back to client from this module.
|
|
The commit candidate structure.
|
|
The commit candidate structure.
|
|
A client context structure, which holds client specific callbacks, batons, serves as a cache for configuration options, and other various and sundry things. In order to avoid backwards compatibility problems clients should use svn_client_create_context() to allocate and intialize this structure instead of doing so themselves. |
|
Callback type used by commit-y operations to get a commit log message from the caller.
Set *log_msg to the log message for the commit, allocated in pool, or
commit_items is a read-only array of baton is provided along with the callback for use by the handler. All allocations should be performed in pool.
Definition at line 418 of file svn_client.h. |
|
Callback type used by commit-y operations to get a commit log message from the caller.
Set *log_msg to the log message for the commit, allocated in pool, or
commit_items is a read-only array of baton is provided along with the callback for use by the handler. All allocations should be performed in pool.
Definition at line 445 of file svn_client.h. |
|
The callback invoked by svn_client_info(). Each invocation describes path with the information present in info. Note that any fields within info may be NULL if information is unavailable. Use pool for all temporary allocation.
Definition at line 2260 of file svn_client.h. |
|
A structure which describes various system-generated metadata about a working-copy path or URL.
|
|
Similar to svn_client_add2(), but with the force parameter always set to
|
|
Similar to svn_client_add3(), but with the no_ignore parameter always set to
|
|
Schedule a working copy path for addition to the repository. path's parent must be under revision control already, but path is not. If recursive is set, then assuming path is a directory, all of its contents will be scheduled for addition as well.
If force is not set and path is already under version control, return the error If ctx->notify_func2 is non-null, then for each added item, call ctx->notify_func2 with ctx->notify_baton2 and the path of the added item. If no_ignore is FALSE, don't add files or directories that match ignore patterns. Important: this is a *scheduling* operation. No changes will happen to the repository until a commit occurs. This scheduling can be removed with svn_client_revert().
|
|
Similar to svn_client_blame() except that peg_revision is always the same as end.
|
|
Invoke receiver with receiver_baton on each line-blame item associated with revision end of path_or_url, using start as the default source of all blame.
peg_revision indicates in which revision path_or_url is valid. If peg_revision->kind is
If start->kind or end->kind is Use pool for any temporary allocation.
|
|
Similar to svn_client_cat2() except that the peg revision is always the same as revision.
|
|
Output the content of file identified by path_or_url and revision to the stream out.
The actual node revision selected is determined by the path as it exists in peg_revision. If peg_revision->kind is
If path_or_url is not a local path, then if revision is of kind Use the authentication baton cached in ctx to authenticate against the repository. Perform all allocations from pool. ### TODO: Add an expansion/translation flag?
|
|
Similar to svn_client_checkout2(), but with the peg_revision parameter always set to
|
|
Checkout a working copy of URL at revision, looked up at peg_revision, using path as the root directory of the newly checked out working copy, and authenticating with the authentication baton cached in ctx.
If result_rev is not
If peg_revision->kind is
revision must be of kind If ignore_externals is set, don't process externals definitions as part of this operation. If ctx->notify_func2 is non-null, invoke ctx->notify_func2 with ctx->notify_baton2 as the checkout progresses. If recurse is true, check out recursively. Otherwise, check out just the directory represented by URL and its immediate non-directory children, but none of its child directories (if any). If URL refers to a file rather than a directory, return the error SVN_ERR_UNSUPPORTED_FEATURE. If URL does not exist, return the error SVN_ERR_RA_ILLEGAL_URL. Use pool for any temporary allocation.
|
|
Recursively cleanup a working copy directory dir, finishing any incomplete operations, removing lockfiles, etc. If ctx->cancel_func is non-null, invoke it with ctx->cancel_baton at various points during the operation. If it returns an error (typically SVN_ERR_CANCELLED), return that error immediately. |
|
Similar to svn_client_commit2(), but with keep_locks set to true and a nonrecursive argument instead of "recurse".
|
|
Similar to svn_client_commit3(), but uses
|
|
Commit files or directories into repository, authenticating with the authentication baton cached in ctx, and using ctx->log_msg_func/@a ctx->log_msg_baton to obtain the log message. Set *commit_info_p to the results of the commit, allocated in pool.
targets is an array of
If ctx->notify_func2 is non-null, then call ctx->notify_func2 with ctx->notify_baton2 as the commit progresses, with any of the following actions: If recurse is false, subdirectories of directories in targets will be ignored. Unlock paths in the repository, unless keep_locks is true. Use pool for any temporary allocations.
If no error is returned and (*commit_info_p)->revision is set to
|
|
Return a duplicate of item, allocated in pool. No part of the new structure will be shared with item.
|
|
Similar to svn_client_copy2(), but uses
|
|
Copy src_path to dst_path. src_path must be a file or directory under version control, or the URL of a versioned item in the repository. If src_path is a URL, src_revision is used to choose the revision from which to copy the src_path. dst_path must be a file or directory under version control, or a repository URL, existent or not. If dst_path is a URL, use the authentication baton in ctx and ctx->log_msg_func/@a ctx->log_msg_baton to immediately attempt to commit the copy action in the repository. If the commit succeeds, allocate (in pool) and populate *commit_info_p. If dst_path is not a URL, then this is just a variant of svn_client_add(), where the dst_path items are scheduled for addition as copies. No changes will happen to the repository until a commit occurs. This scheduling can be removed with svn_client_revert(). ctx->log_msg_func/@a ctx->log_msg_baton are a callback/baton combo that this function can use to query for a commit log message when one is needed. If ctx->notify_func2 is non-null, invoke it with ctx->notify_baton2 for each item added at the new location, passing the new, relative path of the added item.
|
|
Initialize a client context. Set *ctx to a client context object, allocated in pool, that represents a particular instance of an svn client.
In order to avoid backwards compatibility problems, clients must use this function to intialize and allocate the The current implementation never returns error, but callers should still check for error, for compatibility with future versions. |
|
Similar to svn_client_delete2(), but takes
|
|
Delete items from a repository or working copy. If the paths in paths are URLs, use the authentication baton in ctx and ctx->log_msg_func/@a ctx->log_msg_baton to immediately attempt to commit a deletion of the URLs from the repository. If the commit succeeds, allocate (in pool) and populate *commit_info_p. Every path must belong to the same repository. Else, schedule the working copy paths in paths for removal from the repository. Each path's parent must be under revision control. This is just a *scheduling* operation. No changes will happen to the repository until a commit occurs. This scheduling can be removed with svn_client_revert(). If a path is a file it is immediately removed from the working copy. If the path is a directory it will remain in the working copy but all the files, and all unversioned items, it contains will be removed. If force is not set then this operation will fail if any path contains locally modified and/or unversioned items. If force is set such items will be deleted. ctx->log_msg_func/@a ctx->log_msg_baton are a callback/baton combo that this function can use to query for a commit log message when one is needed. If ctx->notify_func2 is non-null, then for each item deleted, call ctx->notify_func2 with ctx->notify_baton2 and the path of the deleted item.
|
|
Similar to svn_client_diff2(), but with the ignore_content_type parameter always set to
|
|
Similar to svn_client_diff3(), but with header_encoding set to
|
|
Produce diff output which describes the delta between path1/@a revision1 and path2/@a revision2. Print the output of the diff to outfile, and any errors to errfile. path1 and path2 can be either working-copy paths or URLs.
If either revision1 or revision2 has an `unspecified' or unrecognized `kind', return path1 and path2 must both represent the same node kind -- that is, if path1 is a directory, path2 must also be, and if path1 is a file, path2 must also be. (Currently, path1 and path2 must be the exact same path) If recurse is true (and the paths are directories) this will be a recursive operation.
Use ignore_ancestry to control whether or not items being diffed will be checked for relatedness first. Unrelated items are typically transmitted to the editor as a deletion of one thing and the addition of another, but if this flag is If no_diff_deleted is true, then no diff output will be generated on deleted files. Generated headers are encoded using header_encoding. Diff output will not be generated for binary files, unless ignore_content_type is true, in which case diffs will be shown regardless of the content types.
diff_options (an array of The authentication baton cached in ctx is used to communicate with the repository.
|
|
Similar to svn_client_diff_peg2(), but with the ignore_content_type parameter always set to
|
|
Similar to svn_client_diff_peg3(), but with header_encoding set to
|
|
Produce diff output which describes the delta between the filesystem object path in peg revision peg_revision, as it changed between start_revision and end_revision. path can be either a working-copy path or URL. All other options are handled identically to svn_client_diff3().
|
|
Similar to svn_client_export2(), but with the native_eol parameter always set to
|
|
Similar to svn_client_export3(), but with the peg_revision parameter always set to
|
|
Export the contents of either a subversion repository or a subversion working copy into a 'clean' directory (meaning a directory with no administrative directories).
If result_rev is not from is either the path the working copy on disk, or a URL to the repository you wish to export. to is the path to the directory where you wish to create the exported tree.
peg_revision is the revision where the path is first looked up when exporting from a repository. If peg_revision->kind is revision is the revision that should be exported, which is only used when exporting from a repository. ctx->notify_func2 and ctx->notify_baton2 are the notification functions and baton which are passed to svn_client_checkout() when exporting from a repository. ctx is a context used for authentication in the repository case. overwrite if true will cause the export to overwrite files or directories. If ignore_externals is set, don't process externals definitions as part of this operation. native_eol allows you to override the standard eol marker on the platform you are running on. Can be either "LF", "CR" or "CRLF" or NULL. If NULL will use the standard eol marker. Any other value will cause the SVN_ERR_IO_UNKNOWN_EOL error to be returned. If recurse is TRUE, export recursively. Otherwise, export just the directory represented by from and its immediate non-directory children, but none of its child directories (if any). Also, if recurse is FALSE, the export will behave as if ignore_externals is TRUE. All allocations are done in pool.
|
|
Create and return *provider, an authentication provider of type svn_auth_cred_simple_t that gets information by prompting the user with prompt_func and prompt_baton. Allocate *provider in pool.
If both |
|
Create and return *provider, an authentication provider of type Allocate *provider in pool.
If a default username or password is available, *provider will honor them as well, and return them when svn_auth_first_credentials() is called. (see |
|
Create and return *provider, an authentication provider of type *provider retrieves its credentials from the configuration mechanism. The returned credential is used to load the appropriate client certificate for authentication when requested by a server. |
|
Create and return *provider, an authentication provider of type *provider retrieves its credentials by using the prompt_func and prompt_baton. The returned credential is used to load the appropriate client certificate for authentication when requested by a server. The prompt will be retried retry_limit times. |
|
Create and return *provider, an authentication provider of type *provider retrieves its credentials from the configuration mechanism. The returned credential is used when a loaded client certificate is protected by a passphrase. |
|
Create and return *provider, an authentication provider of type *provider retrieves its credentials by using the prompt_func and prompt_baton. The returned credential is used when a loaded client certificate is protected by a passphrase. The prompt will be retried retry_limit times. |
|
Create and return *provider, an authentication provider of type *provider retrieves its credentials from the configuration mechanism. The returned credential is used to override SSL security on an error. |
|
Create and return *provider, an authentication provider of type *provider retrieves its credentials by using the prompt_func and prompt_baton. The returned credential is used to override SSL security on an error. |
|
Create and return *provider, an authentication provider of type Allocate *provider in pool.
If |
|
Create and return *provider, an authentication provider of type Allocate *provider in pool.
If a default username is available, *provider will honor it, and return it when svn_auth_first_credentials() is called. (see |
|
Create and return *provider, an authentication provider of type Allocate *provider in pool. This is like svn_client_get_simple_provider(), except that, when running on Window 2000 or newer (or any other Windows version that includes the CryptoAPI), the provider encrypts the password before storing it to disk. On earlier versions of Windows, the provider does nothing.
|
|
Similar to svn_client_import2(), but with the no_ignore parameter always set to
|
|
Import file or directory path into repository directory url at head, authenticating with the authentication baton cached in ctx, and using ctx->log_msg_func/@a ctx->log_msg_baton to get a log message for the (implied) commit. Set *commit_info_p to the results of the commit, allocated in pool. If some components of url do not exist then create parent directories as necessary. If path is a directory, the contents of that directory are imported directly into the directory identified by url. Note that the directory path itself is not imported -- that is, the basename of path is not part of the import. If path is a file, then the dirname of url is the directory receiving the import. The basename of url is the filename in the repository. In this case if url already exists, return error.
If ctx->notify_func2 is non-null, then call ctx->notify_func2 with ctx->notify_baton2 as the import progresses, with any of the following actions: Use pool for any temporary allocation. ctx->log_msg_func/@a ctx->log_msg_baton are a callback/baton combo that this function can use to query for a commit log message when one is needed. Use nonrecursive to indicate that imported directories should not recurse into any subdirectories they may have. If no_ignore is FALSE, don't add files or directories that match ignore patterns. ### kff todo: This import is similar to cvs import, in that it does not change the source tree into a working copy. However, this behavior confuses most people, and I think eventually svn _should_ turn the tree into a working copy, or at least should offer the option. However, doing so is a bit involved, and we don't need it right now.
|
|
Invoke receiver with receiver_baton to return information about path_or_url in revision.
The information returned is system-generated metadata, not the sort of "property" metadata created by users. See
If both revision arguments are either
Otherwise, information will be pulled from a repository. The actual node revision selected is determined by the path_or_url as it exists in peg_revision. If peg_revision->kind is
If path_or_url is not a local path, then if revision is of kind Use the authentication baton cached in ctx to authenticate against the repository. If recurse is true (and path_or_url is a directory) this will be a recursive operation, invoking receiver on each child.
|
|
Similar to svn_client_log2(), but with the limit parameter set to 0, and the following special case:. Special case for repositories at revision 0:
If start->kind is
|
|
Invoke receiver with receiver_baton on each log message from start to end in turn, inclusive (but never invoke receiver on a given log message more than once).
targets contains either a URL followed by zero or more relative paths, or a list of working copy paths, as If limit is non-zero only invoke receiver on the first limit logs. If discover_changed_paths is set, then the `changed_paths' argument to receiver will be passed on each invocation. If strict_node_history is set, copy history (if any exists) will not be traversed while harvesting revision logs for each target.
If start->kind or end->kind is Use pool for any temporary allocation. IMPORTANT: A special case for the revision range HEAD:1, which was present in svn_client_log(), has been removed from svn_client_log2(). Instead, it is expected that callers will specify the range HEAD:0, to avoid a SVN_ERR_FS_NO_SUCH_REVISION error when invoked against an empty repository (i.e. one not containing a revision 1). If ctx->notify_func2 is non-null, then call ctx->notify_func2/baton2 with a 'skip' signal on any unversioned targets.
|
|
Similar to svn_client_ls2() except that the peg revision is always the same as revision.
|
|
Same as svn_client_ls3(), but always passes a NULL lock hash.
|
|
Set *dirents to a newly allocated hash of entries for path_or_url at revision.
The actual node revision selected is determined by the path as it exists in peg_revision. If peg_revision->kind is
If path_or_url is a directory, return all dirents in the hash. If path_or_url is a file, return only the dirent for the file. If path_or_url is non-existent, return
The dirents hash maps entry names (
If locks is not Use authentication baton cached in ctx to authenticate against the repository. If recurse is true (and path_or_url is a directory) this will be a recursive operation.
|
|
Merge changes from source1/@a revision1 to source2/@a revision2 into the working-copy path target_wcpath. source1 and source2 are either URLs that refer to entries in the repository, or paths to entries in the working copy. By "merging", we mean: apply file differences using svn_wc_merge(), and schedule additions & deletions when appropriate. source1 and source2 must both represent the same node kind -- that is, if source1 is a directory, source2 must also be, and if source1 is a file, source2 must also be.
If either revision1 or revision2 has an `unspecified' or unrecognized `kind', return If recurse is true (and the URLs are directories), apply changes recursively; otherwise, only apply changes in the current directory.
Use ignore_ancestry to control whether or not items being diffed will be checked for relatedness first. Unrelated items are typically transmitted to the editor as a deletion of one thing and the addition of another, but if this flag is If force is not set and the merge involves deleting locally modified or unversioned items the operation will fail. If force is set such items will be deleted. If ctx->notify_func2 is non-null, then call ctx->notify_func2 with ctx->notify_baton2 once for each merged target, passing the target's local path. If dry_run is true the merge is carried out, and full notification feedback is provided, but the working copy is not modified. The authentication baton cached in ctx is used to communicate with the repository. |
|
Merge the changes between the filesystem object source in peg revision peg_revision, as it changed between revision1 and revision2. All other options are handled identically to svn_client_merge().
|
|
Same as svn_client_mkdir2(), but takes the
|
|
Create a directory, either in a repository or a working copy. If paths contains URLs, use the authentication baton in ctx and message to immediately attempt to commit the creation of the directories in paths in the repository. If the commit succeeds, allocate (in pool) and populate *commit_info_p. Else, create the directories on disk, and attempt to schedule them for addition (using svn_client_add(), whose docstring you should read). ctx->log_msg_func/@a ctx->log_msg_baton are a callback/baton combo that this function can use to query for a commit log message when one is needed. If ctx->notify_func2 is non-null, when the directory has been created (successfully) in the working copy, call ctx->notify_func2 with ctx->notify_baton2 and the path of the new directory. Note that this is only called for items added to the working copy.
|
|
Similar to svn_client_move2(), but an extra argument src_revision must be passed.
This has no effect, but must be of kind
|
|
Similar to svn_client_move3(), but uses
|
|
Move src_path to dst_path. src_path must be a file or directory under version control, or the URL of a versioned item in the repository. If src_path is a repository URL:
If ctx->notify_func2 is non-null, then for each item moved, call ctx->notify_func2 with the ctx->notify_baton2 twice, once to indicate the deletion of the moved thing, and once to indicate the addition of the new location of the thing. ### Is this really true? What about svn_wc_notify_commit_replaced()? ###
|
|
Open an RA session rooted at url, and return it in *session. Use the authentication baton stored in ctx for authentication. *session is allocated in pool.
|
|
Return a duplicate of item, allocated in pool. No part of the new structure will be shared with item.
|
|
Modify a working copy directory dir, changing any repository URLs that begin with from to begin with to instead, recursing into subdirectories if recurse is true.
|
|
Remove the 'conflicted' state on a working copy path. This will not semantically resolve conflicts; it just allows path to be committed in the future. The implementation details are opaque. If recursive is set, recurse below path, looking for conflicts to resolve. If path is not in a state of conflict to begin with, do nothing. If path's conflict state is removed and ctx->notify_func2 is non-null, call ctx->notify_func2 with ctx->notify_baton2 and path. |
|
Restore the pristine version of a working copy paths, effectively undoing any local mods. For each path in paths, if it is a directory, and recursive is true, this will be a recursive operation. If ctx->notify_func2 is non-null, then for each item reverted, call ctx->notify_func2 with ctx->notify_baton2 and the path of the reverted item.
If an item specified for reversion is not under version control, then do not error, just invoke ctx->notify_func2 with ctx->notify_baton2, using notification code |
|
Similar to svn_client_status2(), but with the ignore_externals parameter always set to
|
|
Given path to a working copy directory (or single file), call status_func/status_baton with a set of
svn_wc_notify_status_external action before handling each externals definition, and with svn_wc_notify_status_completed after each.
|
|
Switch working tree path to url at revision, authenticating with the authentication baton cached in ctx.
If result_rev is not Summary of purpose: this is normally used to switch a working directory over to another line of development, such as a branch or a tag. Switching an existing working directory is more efficient than checking out url from scratch.
revision must be of kind If recurse is true, and path is a directory, switch it recursively; otherwise, switch just path and its immediate entries, but not its child directories (if any). If ctx->notify_func2 is non-null, invoke it with ctx->notify_baton2 on paths affected by the switch. Also invoke it for files may be restored from the text-base because they were removed from the working copy. Use pool for any temporary allocation. |
|
Similar to svn_client_update2() except that it accepts only a single target in path, returns a single revision if result_rev is not NULL, and ignore_externals is always set to
|
|
Update working trees paths to revision, authenticating with the authentication baton cached in ctx.
paths is an array of const char * paths to be updated. Unversioned paths that are direct children of a versioned path will cause an update that attempts to add that path, other unversioned paths are skipped. If result_revs is not
revision must be of kind
The paths in paths can be from multiple working copies from multiple repositories, but even if they all come from the same repository there is no guarantee that revision represented by If ignore_externals is set, don't process externals definitions as part of this operation. If recurse is true, update directories recursively; otherwise, update just their immediate entries, but not their child directories (if any). If ctx->notify_func2 is non-null, invoke ctx->notify_func2 with ctx->notify_baton2 for each item handled by the update, and also for files restored from text-base. If ctx->cancel_func is non-null, invoke it passing ctx->cancel_baton at various places during the update. Use pool for any temporary allocation.
|
|
Set *url to the URL for path_or_url. If path_or_url is already a URL, set *url to path_or_url. If path_or_url is a versioned item, set *url to path_or_url's entry URL. If path_or_url is unversioned (has no entry), set *url to null. |
|
Return the repository uuid for working-copy path, allocated in pool. Use adm_access to retrieve the uuid from path's entry; if not present in the entry, then call svn_client_uuid_from_url() to retrieve, using the entry's URL. ctx is required for possible repository authentication.
|
|
Get repository uuid for url. Use a pool to open a temporary RA session to url, discover the repository uuid, and free the session. Return the uuid in uuid, allocated in pool. ctx is required for possible repository authentication. |
|
Get libsvn_client version information.
|
|
Return a duplicate of info, allocated in pool. No part of the new structure will be shared with info.
|