# svn_wc.h File Reference

Subversion's working copy library. More...

`#include <apr.h>`
`#include <apr_pools.h>`
`#include <apr_tables.h>`
`#include <apr_hash.h>`
`#include <apr_time.h>`
`#include <apr_file_io.h>`
`#include "svn_types.h"`
`#include "svn_string.h"`
`#include "svn_checksum.h"`
`#include "svn_io.h"`
`#include "svn_delta.h"`
`#include "svn_opt.h"`
`#include "svn_ra.h"`

Go to the source code of this file.

## Data Structures
struct | svn_wc_external_item2_t
| One external item. More...
struct | svn_wc_external_item_t
| One external item. More...
struct | svn_wc_notify_t
| Structure used in the svn_wc_notify_func2_t function. More...
struct | svn_wc_conflict_version_t
| Info about one of the conflicting versions of a node. More...
struct | svn_wc_conflict_description2_t
| A struct that describes a conflict that has occurred in the working copy. More...
struct | svn_wc_conflict_description_t
| Similar to svn_wc_conflict_description2_t, but with relative paths and adm_access batons. More...
struct | svn_wc_conflict_result_t
| The final result returned by svn_wc_conflict_resolver_func_t. More...
struct | svn_wc_diff_callbacks4_t
| A callback vtable invoked by our diff-editors, as they receive diffs from the server. More...
struct | svn_wc_diff_callbacks3_t
| Similar to svn_wc_diff_callbacks4_t, but without copyfrom_path and copyfrom_revision arguments to `file_added` and `dir_added` functions. More...
struct | svn_wc_diff_callbacks2_t
| Similar to svn_wc_diff_callbacks3_t, but without the `dir_opened` and `dir_closed` functions, and without the tree_conflicted argument to the functions. More...
struct | svn_wc_diff_callbacks_t
| Similar to svn_wc_diff_callbacks2_t, but with file additions/content changes and property changes split into different functions. More...
struct | svn_wc_entry_t
| A working copy entry -- that is, revision control information about one versioned entity. More...
struct | svn_wc_info_t
| This struct contains information about a working copy node. More...
struct | svn_wc_entry_callbacks2_t
| A callback vtable invoked by the generic entry-walker function. More...
struct | svn_wc_entry_callbacks_t
struct | svn_wc_status3_t
| Structure for holding the "status" of a working copy item. More...
struct | svn_wc_status2_t
| ### All diffs are not yet known. More...
struct | svn_wc_status_t
| Same as svn_wc_status2_t, but without the svn_lock_t 'repos_lock' field. More...
struct | svn_wc_revision_status_t
| A structure to report a summary of a working copy, including the mix of revisions found within it, whether any parts are switched or locally modified, and whether it is a sparse checkout. More...
## Defines
#define | SVN_WC_TRANSLATE_FROM_NF 0x00000000
| Translate from Normal Form.
#define | SVN_WC_TRANSLATE_TO_NF 0x00000001
| Translate to Normal Form.
#define | SVN_WC_TRANSLATE_FORCE_EOL_REPAIR 0x00000002
| Force repair of eol styles, making sure the output file consistently contains the one eol style as specified by the svn:eol-style property and the required translation direction.
#define | SVN_WC_TRANSLATE_NO_OUTPUT_CLEANUP 0x00000004
| Don't register a pool cleanup to delete the output file.
#define | SVN_WC_TRANSLATE_FORCE_COPY 0x00000008
| Guarantee a new file is created on successful return.
#define | SVN_WC_TRANSLATE_USE_GLOBAL_TMP 0x00000010
| Use a non-wc-local tmp directory for creating output files, instead of in the working copy admin tmp area which is the default.
#define | SVN_WC_ADM_DIR_NAME ".svn"
| The default name of the administrative subdirectory.
#define | SVN_WC_ENTRY_WORKING_SIZE_UNKNOWN (-1)
| Values for the working_size field in svn_wc_entry_t when it isn't set to the actual size value of the unchanged working file.
#define | SVN_WC_ENTRY_THIS_DIR ""
| How an entries file's owner dir is named in the entries file.
## Typedefs
typedef struct svn_wc_context_t | svn_wc_context_t
| The context for all working copy interactions.
typedef struct svn_wc_adm_access_t | svn_wc_adm_access_t
| Baton for access to a working copy administrative area.
typedef svn_error_t *(* | svn_wc_external_update_t )(void *baton, const char *local_abspath, const svn_string_t *old_val, const svn_string_t *new_val, svn_depth_t depth, apr_pool_t *scratch_pool)
| Callback for external definitions updates.
typedef struct svn_wc_traversal_info_t | svn_wc_traversal_info_t
| Traversal information is information gathered by a working copy crawl or update.
typedef struct svn_wc_external_item2_t | svn_wc_external_item2_t
| One external item.
typedef struct svn_wc_external_item_t | svn_wc_external_item_t
| One external item.
typedef enum svn_wc_notify_action_t | svn_wc_notify_action_t
| The type of action occurring.
typedef enum svn_wc_notify_state_t | svn_wc_notify_state_t
| The type of notification that is occurring.
typedef enum svn_wc_notify_lock_state_t | svn_wc_notify_lock_state_t
| What happened to a lock during an operation.
typedef struct svn_wc_notify_t | svn_wc_notify_t
| Structure used in the svn_wc_notify_func2_t function.
typedef void(* | svn_wc_notify_func2_t )(void *baton, const svn_wc_notify_t *notify, apr_pool_t *pool)
| Notify the world that notify->action has happened to notify->path.
typedef void(* | svn_wc_notify_func_t )(void *baton, const char *path, svn_wc_notify_action_t action, svn_node_kind_t kind, const char *mime_type, svn_wc_notify_state_t content_state, svn_wc_notify_state_t prop_state, svn_revnum_t revision)
| Similar to svn_wc_notify_func2_t, but takes the information as arguments instead of struct fields.
typedef enum svn_wc_conflict_action_t | svn_wc_conflict_action_t
| The type of action being attempted on an object.
typedef enum svn_wc_conflict_reason_t | svn_wc_conflict_reason_t
| The pre-existing condition which is causing a state of conflict.
typedef enum svn_wc_conflict_kind_t | svn_wc_conflict_kind_t
| The type of conflict being described by an svn_wc_conflict_description2_t (see below).
typedef enum svn_wc_operation_t | svn_wc_operation_t
| The user operation that exposed a conflict.
typedef struct svn_wc_conflict_version_t | svn_wc_conflict_version_t
| Info about one of the conflicting versions of a node.
typedef struct svn_wc_conflict_description2_t | svn_wc_conflict_description2_t
| A struct that describes a conflict that has occurred in the working copy.
typedef struct svn_wc_conflict_description_t | svn_wc_conflict_description_t
| Similar to svn_wc_conflict_description2_t, but with relative paths and adm_access batons.
typedef enum svn_wc_conflict_choice_t | svn_wc_conflict_choice_t
| The way in which the conflict callback chooses a course of action.
typedef struct svn_wc_conflict_result_t | svn_wc_conflict_result_t
| The final result returned by svn_wc_conflict_resolver_func_t.
typedef svn_error_t *(* | svn_wc_conflict_resolver_func2_t )(svn_wc_conflict_result_t **result, const svn_wc_conflict_description2_t *description, void *baton, apr_pool_t *result_pool, apr_pool_t *scratch_pool)
| A callback used in merge, update and switch for resolving conflicts during the application of a tree delta to a working copy.
typedef svn_error_t *(* | svn_wc_conflict_resolver_func_t )(svn_wc_conflict_result_t **result, const svn_wc_conflict_description_t *description, void *baton, apr_pool_t *pool)
| Similar to svn_wc_conflict_resolver_func2_t, but using svn_wc_conflict_description_t instead of svn_wc_conflict_description2_t.
typedef struct svn_wc_diff_callbacks4_t | svn_wc_diff_callbacks4_t
| A callback vtable invoked by our diff-editors, as they receive diffs from the server.
typedef struct svn_wc_diff_callbacks3_t | svn_wc_diff_callbacks3_t
| Similar to svn_wc_diff_callbacks4_t, but without copyfrom_path and copyfrom_revision arguments to `file_added` and `dir_added` functions.
typedef struct svn_wc_diff_callbacks2_t | svn_wc_diff_callbacks2_t
| Similar to svn_wc_diff_callbacks3_t, but without the `dir_opened` and `dir_closed` functions, and without the tree_conflicted argument to the functions.
typedef struct svn_wc_diff_callbacks_t | svn_wc_diff_callbacks_t
| Similar to svn_wc_diff_callbacks2_t, but with file additions/content changes and property changes split into different functions.
typedef enum svn_wc_schedule_t | svn_wc_schedule_t
| The schedule states an entry can be in.
typedef struct svn_wc_entry_t | svn_wc_entry_t
| A working copy entry -- that is, revision control information about one versioned entity.
typedef struct svn_wc_info_t | svn_wc_info_t
| This struct contains information about a working copy node.
typedef struct svn_wc_entry_callbacks2_t | svn_wc_entry_callbacks2_t
| A callback vtable invoked by the generic entry-walker function.
typedef struct svn_wc_entry_callbacks_t | svn_wc_entry_callbacks_t
typedef struct svn_wc_status3_t | svn_wc_status3_t
| Structure for holding the "status" of a working copy item.
typedef struct svn_wc_status2_t | svn_wc_status2_t
| ### All diffs are not yet known.
typedef struct svn_wc_status_t | svn_wc_status_t
| Same as svn_wc_status2_t, but without the svn_lock_t 'repos_lock' field.
typedef svn_error_t *(* | svn_wc_status_func4_t )(void *baton, const char *local_abspath, const svn_wc_status3_t *status, apr_pool_t *scratch_pool)
| A callback for reporting a status about local_abspath.
typedef svn_error_t *(* | svn_wc_status_func3_t )(void *baton, const char *path, svn_wc_status2_t *status, apr_pool_t *pool)
| Same as svn_wc_status_func4_t, but with a non-const status and a relative path.
typedef void(* | svn_wc_status_func2_t )(void *baton, const char *path, svn_wc_status2_t *status)
| Same as svn_wc_status_func3_t, but without a provided pool or the ability to propagate errors.
typedef void(* | svn_wc_status_func_t )(void *baton, const char *path, svn_wc_status_t *status)
| Same as svn_wc_status_func2_t, but for older svn_wc_status_t structures.
typedef struct svn_wc_committed_queue_t | svn_wc_committed_queue_t
| Storage type for queued post-commit data.
typedef svn_error_t *(* | svn_wc_get_file_t )(void *baton, const char *path, svn_revnum_t revision, svn_stream_t *stream, svn_revnum_t *fetched_rev, apr_hash_t **props, apr_pool_t *pool)
| A simple callback type to wrap svn_ra_get_file(); see that docstring for more information.
typedef svn_error_t *(* | svn_wc_dirents_func_t )(void *baton, apr_hash_t **dirents, const char *repos_root_url, const char *repos_relpath, apr_pool_t *result_pool, apr_pool_t *scratch_pool)
| A simple callback type to wrap svn_ra_get_dir2() for avoiding issue #3569, where a directory is updated to a revision without some of its children recorded in the working copy.
typedef svn_error_t *(* | svn_wc_canonicalize_svn_prop_get_file_t )(const svn_string_t **mime_type, svn_stream_t *stream, void *baton, apr_pool_t *pool)
| Callback type used by svn_wc_canonicalize_svn_prop.
typedef enum svn_wc_merge_outcome_t | svn_wc_merge_outcome_t
| The outcome of a merge carried out (or tried as a dry-run) by svn_wc_merge().
typedef svn_error_t *(* | svn_wc_upgrade_get_repos_info_t )(const char **repos_root, const char **repos_uuid, void *baton, const char *url, apr_pool_t *result_pool, apr_pool_t *scratch_pool)
| Callback for retrieving a repository root for a url from upgrade.
typedef svn_error_t *(* | svn_wc_relocation_validator3_t )(void *baton, const char *uuid, const char *url, const char *root_url, apr_pool_t *pool)
| Relocation validation callback typedef.
typedef svn_error_t *(* | svn_wc_relocation_validator2_t )(void *baton, const char *uuid, const char *url, svn_boolean_t root, apr_pool_t *pool)
| Similar to svn_wc_relocation_validator3_t, but with the root argument.
typedef svn_error_t *(* | svn_wc_relocation_validator_t )(void *baton, const char *uuid, const char *url)
| Similar to svn_wc_relocation_validator2_t, but without the root and pool arguments.
typedef struct svn_wc_revision_status_t | svn_wc_revision_status_t
| A structure to report a summary of a working copy, including the mix of revisions found within it, whether any parts are switched or locally modified, and whether it is a sparse checkout.
typedef svn_error_t *(* | svn_changelist_receiver_t )(void *baton, const char *path, const char *changelist, apr_pool_t *pool)
| The callback type used by svn_client_get_changelists().
## Enumerations
enum | svn_wc_notify_action_t { svn_wc_notify_add = 0, svn_wc_notify_copy, svn_wc_notify_delete, svn_wc_notify_restore, svn_wc_notify_revert, svn_wc_notify_failed_revert, svn_wc_notify_resolved, svn_wc_notify_skip, svn_wc_notify_update_delete, svn_wc_notify_update_add, svn_wc_notify_update_update, svn_wc_notify_update_completed, svn_wc_notify_update_external, svn_wc_notify_status_completed, svn_wc_notify_status_external, svn_wc_notify_commit_modified, svn_wc_notify_commit_added, svn_wc_notify_commit_deleted, svn_wc_notify_commit_replaced, svn_wc_notify_commit_postfix_txdelta, svn_wc_notify_blame_revision, svn_wc_notify_locked, svn_wc_notify_unlocked, svn_wc_notify_failed_lock, svn_wc_notify_failed_unlock, svn_wc_notify_exists, svn_wc_notify_changelist_set, svn_wc_notify_changelist_clear, svn_wc_notify_changelist_moved, svn_wc_notify_merge_begin, svn_wc_notify_foreign_merge_begin, svn_wc_notify_update_replace, svn_wc_notify_property_added, svn_wc_notify_property_modified, svn_wc_notify_property_deleted, svn_wc_notify_property_deleted_nonexistent, svn_wc_notify_revprop_set, svn_wc_notify_revprop_deleted, svn_wc_notify_merge_completed, svn_wc_notify_tree_conflict, svn_wc_notify_failed_external, svn_wc_notify_update_started, svn_wc_notify_update_skip_obstruction, svn_wc_notify_update_skip_working_only, svn_wc_notify_update_skip_access_denied, svn_wc_notify_update_external_removed, svn_wc_notify_update_shadowed_add, svn_wc_notify_update_shadowed_update, svn_wc_notify_update_shadowed_delete, svn_wc_notify_merge_record_info, svn_wc_notify_upgraded_path, svn_wc_notify_merge_record_info_begin, svn_wc_notify_merge_elide_info, svn_wc_notify_patch, svn_wc_notify_patch_applied_hunk, svn_wc_notify_patch_rejected_hunk, svn_wc_notify_patch_hunk_already_applied, svn_wc_notify_commit_copied, svn_wc_notify_commit_copied_replaced, svn_wc_notify_url_redirect, svn_wc_notify_path_nonexistent, svn_wc_notify_exclude, svn_wc_notify_failed_conflict, svn_wc_notify_failed_missing, svn_wc_notify_failed_out_of_date, svn_wc_notify_failed_no_parent, svn_wc_notify_failed_locked, svn_wc_notify_failed_forbidden_by_server, svn_wc_notify_skip_conflicted }
| The type of action occurring. More...
enum | svn_wc_notify_state_t { svn_wc_notify_state_inapplicable = 0, svn_wc_notify_state_unknown, svn_wc_notify_state_unchanged, svn_wc_notify_state_missing, svn_wc_notify_state_obstructed, svn_wc_notify_state_changed, svn_wc_notify_state_merged, svn_wc_notify_state_conflicted, svn_wc_notify_state_source_missing }
| The type of notification that is occurring. More...
enum | svn_wc_notify_lock_state_t { svn_wc_notify_lock_state_inapplicable = 0, svn_wc_notify_lock_state_unknown, svn_wc_notify_lock_state_unchanged, svn_wc_notify_lock_state_locked, svn_wc_notify_lock_state_unlocked }
| What happened to a lock during an operation. More...
enum | svn_wc_conflict_action_t { svn_wc_conflict_action_edit, svn_wc_conflict_action_add, svn_wc_conflict_action_delete, svn_wc_conflict_action_replace }
| The type of action being attempted on an object. More...
enum | svn_wc_conflict_reason_t { svn_wc_conflict_reason_edited, svn_wc_conflict_reason_obstructed, svn_wc_conflict_reason_deleted, svn_wc_conflict_reason_missing, svn_wc_conflict_reason_unversioned, svn_wc_conflict_reason_added, svn_wc_conflict_reason_replaced }
| The pre-existing condition which is causing a state of conflict. More...
enum | svn_wc_conflict_kind_t { svn_wc_conflict_kind_text, svn_wc_conflict_kind_property, svn_wc_conflict_kind_tree }
| The type of conflict being described by an svn_wc_conflict_description2_t (see below). More...
enum | svn_wc_operation_t { svn_wc_operation_none = 0, svn_wc_operation_update, svn_wc_operation_switch, svn_wc_operation_merge }
| The user operation that exposed a conflict. More...
enum | svn_wc_conflict_choice_t { svn_wc_conflict_choose_postpone, svn_wc_conflict_choose_base, svn_wc_conflict_choose_theirs_full, svn_wc_conflict_choose_mine_full, svn_wc_conflict_choose_theirs_conflict, svn_wc_conflict_choose_mine_conflict, svn_wc_conflict_choose_merged }
| The way in which the conflict callback chooses a course of action. More...
enum | svn_wc_schedule_t { svn_wc_schedule_normal, svn_wc_schedule_add, svn_wc_schedule_delete, svn_wc_schedule_replace }
| The schedule states an entry can be in. More...
enum | svn_wc_status_kind { svn_wc_status_none = 1, svn_wc_status_unversioned, svn_wc_status_normal, svn_wc_status_added, svn_wc_status_missing, svn_wc_status_deleted, svn_wc_status_replaced, svn_wc_status_modified, svn_wc_status_merged, svn_wc_status_conflicted, svn_wc_status_ignored, svn_wc_status_obstructed, svn_wc_status_external, svn_wc_status_incomplete }
| The type of status for the working copy. More...
enum | svn_wc_merge_outcome_t { svn_wc_merge_unchanged, svn_wc_merge_merged, svn_wc_merge_conflict, svn_wc_merge_no_merge }
| The outcome of a merge carried out (or tried as a dry-run) by svn_wc_merge(). More...
## Functions
const svn_version_t * | svn_wc_version (void)
| Get libsvn_wc version information.
svn_error_t * | svn_wc_context_create (svn_wc_context_t **wc_ctx, const svn_config_t *config, apr_pool_t *result_pool, apr_pool_t *scratch_pool)
| Create a context for the working copy, and return it in *wc_ctx.
svn_error_t * | svn_wc_context_destroy (svn_wc_context_t *wc_ctx)
| Destroy the working copy context described by wc_ctx, releasing any acquired resources.
svn_error_t * | svn_wc_adm_open3 (svn_wc_adm_access_t **adm_access, svn_wc_adm_access_t *associated, const char *path, svn_boolean_t write_lock, int levels_to_lock, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *pool)
| Return, in *adm_access, a pointer to a new access baton for the working copy administrative area associated with the directory path.
svn_error_t * | svn_wc_adm_open2 (svn_wc_adm_access_t **adm_access, svn_wc_adm_access_t *associated, const char *path, svn_boolean_t write_lock, int levels_to_lock, apr_pool_t *pool)
| Similar to svn_wc_adm_open3(), but without cancellation support.
svn_error_t * | svn_wc_adm_open (svn_wc_adm_access_t **adm_access, svn_wc_adm_access_t *associated, const char *path, svn_boolean_t write_lock, svn_boolean_t tree_lock, apr_pool_t *pool)
| Similar to svn_wc_adm_open2(), but with tree_lock instead of levels_to_lock.
svn_error_t * | svn_wc_adm_probe_open3 (svn_wc_adm_access_t **adm_access, svn_wc_adm_access_t *associated, const char *path, svn_boolean_t write_lock, int levels_to_lock, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *pool)
| Checks the working copy to determine the node type of path.
svn_error_t * | svn_wc_adm_probe_open2 (svn_wc_adm_access_t **adm_access, svn_wc_adm_access_t *associated, const char *path, svn_boolean_t write_lock, int levels_to_lock, apr_pool_t *pool)
| Similar to svn_wc_adm_probe_open3() without the cancel functionality.
svn_error_t * | svn_wc_adm_probe_open (svn_wc_adm_access_t **adm_access, svn_wc_adm_access_t *associated, const char *path, svn_boolean_t write_lock, svn_boolean_t tree_lock, apr_pool_t *pool)
| Similar to svn_wc_adm_probe_open2(), but with tree_lock instead of levels_to_lock.
svn_error_t * | svn_wc_adm_open_anchor (svn_wc_adm_access_t **anchor_access, svn_wc_adm_access_t **target_access, const char **target, const char *path, svn_boolean_t write_lock, int levels_to_lock, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *pool)
| Open access batons for path and return in *anchor_access and *target the anchor and target required to drive an editor.
svn_error_t * | svn_wc_adm_retrieve (svn_wc_adm_access_t **adm_access, svn_wc_adm_access_t *associated, const char *path, apr_pool_t *pool)
| Return, in *adm_access, a pointer to an existing access baton associated with path.
svn_error_t * | svn_wc_adm_probe_retrieve (svn_wc_adm_access_t **adm_access, svn_wc_adm_access_t *associated, const char *path, apr_pool_t *pool)
| Check the working copy to determine the node type of path.
svn_error_t * | svn_wc_adm_probe_try3 (svn_wc_adm_access_t **adm_access, svn_wc_adm_access_t *associated, const char *path, svn_boolean_t write_lock, int levels_to_lock, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *pool)
| Try various ways to obtain an access baton for path.
svn_error_t * | svn_wc_adm_probe_try2 (svn_wc_adm_access_t **adm_access, svn_wc_adm_access_t *associated, const char *path, svn_boolean_t write_lock, int levels_to_lock, apr_pool_t *pool)
| Similar to svn_wc_adm_probe_try3() without the cancel functionality.
svn_error_t * | svn_wc_adm_probe_try (svn_wc_adm_access_t **adm_access, svn_wc_adm_access_t *associated, const char *path, svn_boolean_t write_lock, svn_boolean_t tree_lock, apr_pool_t *pool)
| Similar to svn_wc_adm_probe_try2(), but with tree_lock instead of levels_to_lock.
svn_error_t * | svn_wc_adm_close2 (svn_wc_adm_access_t *adm_access, apr_pool_t *scratch_pool)
| Give up the access baton adm_access, and its lock if any.
svn_error_t * | svn_wc_adm_close (svn_wc_adm_access_t *adm_access)
| Similar to svn_wc_adm_close2(), but with the internal pool of adm_access used for temporary allocations.
const char * | svn_wc_adm_access_path (const svn_wc_adm_access_t *adm_access)
| Return the path used to open the access baton adm_access.
apr_pool_t * | svn_wc_adm_access_pool (const svn_wc_adm_access_t *adm_access)
| Return the pool used by access baton adm_access.
svn_boolean_t | svn_wc_adm_locked (const svn_wc_adm_access_t *adm_access)
| Return `TRUE` is the access baton adm_access has a write lock, `FALSE` otherwise.
svn_error_t * | svn_wc_locked2 (svn_boolean_t *locked_here, svn_boolean_t *locked, svn_wc_context_t *wc_ctx, const char *local_abspath, apr_pool_t *scratch_pool)
| Gets up to two booleans indicating whether a path is locked for writing.
svn_error_t * | svn_wc_locked (svn_boolean_t *locked, const char *path, apr_pool_t *pool)
| Set *locked to non-zero if path is locked, else set it to zero.
svn_boolean_t | svn_wc_is_adm_dir (const char *name, apr_pool_t *pool)
| Return `TRUE` if name is the name of the WC administrative directory.
const char * | svn_wc_get_adm_dir (apr_pool_t *pool)
| Return the name of the administrative directory.
svn_error_t * | svn_wc_set_adm_dir (const char *name, apr_pool_t *pool)
| Use name for the administrative directory in the working copy.
svn_wc_traversal_info_t * | svn_wc_init_traversal_info (apr_pool_t *pool)
| Return a new, empty traversal info object, allocated in pool.
void | svn_wc_edited_externals (apr_hash_t **externals_old, apr_hash_t **externals_new, svn_wc_traversal_info_t *traversal_info)
| Set *externals_old and *externals_new to hash tables representing changes to values of the svn:externals property on directories traversed by traversal_info.
void | svn_wc_traversed_depths (apr_hash_t **depths, svn_wc_traversal_info_t *traversal_info)
| Set *depths to a hash table mapping `const char *` directory names (directories traversed by traversal_info) to `const char *` values (the depths of those directories, as converted by svn_depth_to_word()).
svn_error_t * | svn_wc_external_item_create (const svn_wc_external_item2_t **item, apr_pool_t *pool)
| Initialize an external item.
svn_wc_external_item2_t * | svn_wc_external_item2_dup (const svn_wc_external_item2_t *item, apr_pool_t *pool)
| Return a duplicate of item, allocated in pool.
svn_wc_external_item_t * | svn_wc_external_item_dup (const svn_wc_external_item_t *item, apr_pool_t *pool)
| Return a duplicate of item, allocated in pool.
svn_error_t * | svn_wc_parse_externals_description3 (apr_array_header_t **externals_p, const char *parent_directory, const char *desc, svn_boolean_t canonicalize_url, apr_pool_t *pool)
| If externals_p is non-NULL, set *externals_p to an array of svn_wc_external_item2_t * objects based on desc.
svn_error_t * | svn_wc_parse_externals_description2 (apr_array_header_t **externals_p, const char *parent_directory, const char *desc, apr_pool_t *pool)
| Similar to svn_wc_parse_externals_description3() with canonicalize_url set to `TRUE`, but returns an array of svn_wc_external_item_t * objects instead of svn_wc_external_item2_t * objects.
svn_error_t * | svn_wc_parse_externals_description (apr_hash_t **externals_p, const char *parent_directory, const char *desc, apr_pool_t *pool)
| Similar to svn_wc_parse_externals_description2(), but returns the parsed externals in a hash instead of an array.
svn_wc_notify_t * | svn_wc_create_notify (const char *path, svn_wc_notify_action_t action, apr_pool_t *pool)
| Allocate an svn_wc_notify_t structure in pool, initialize and return it.
svn_wc_notify_t * | svn_wc_create_notify_url (const char *url, svn_wc_notify_action_t action, apr_pool_t *pool)
| Allocate an svn_wc_notify_t structure in pool, initialize and return it.
svn_wc_notify_t * | svn_wc_dup_notify (const svn_wc_notify_t *notify, apr_pool_t *pool)
| Return a deep copy of notify, allocated in pool.
svn_wc_conflict_version_t * | svn_wc_conflict_version_create (const char *repos_url, const char *path_in_repos, svn_revnum_t peg_rev, svn_node_kind_t node_kind, apr_pool_t *pool)
| Allocate an svn_wc_conflict_version_t structure in pool, initialize to contain a conflict origin, and return it.
svn_wc_conflict_version_t * | svn_wc_conflict_version_dup (const svn_wc_conflict_version_t *version, apr_pool_t *pool)
| Return a duplicate of version, allocated in pool.
svn_wc_conflict_description2_t * | svn_wc_conflict_description_create_text2 (const char *local_abspath, apr_pool_t *result_pool)
| Allocate an svn_wc_conflict_description_t structure in result_pool, initialize to represent a text conflict, and return it.
svn_wc_conflict_description_t * | svn_wc_conflict_description_create_text (const char *path, svn_wc_adm_access_t *adm_access, apr_pool_t *pool)
| Similar to svn_wc_conflict_description_create_text2(), but returns a svn_wc_conflict_description_t *.
svn_wc_conflict_description2_t * | svn_wc_conflict_description_create_prop2 (const char *local_abspath, svn_node_kind_t node_kind, const char *property_name, apr_pool_t *result_pool)
| Allocate an svn_wc_conflict_description_t structure in result_pool, initialize to represent a property conflict, and return it.
svn_wc_conflict_description_t * | svn_wc_conflict_description_create_prop (const char *path, svn_wc_adm_access_t *adm_access, svn_node_kind_t node_kind, const char *property_name, apr_pool_t *pool)
| Similar to svn_wc_conflict_descriptor_create_prop(), but returns a svn_wc_conflict_description_t *.
svn_wc_conflict_description2_t * | svn_wc_conflict_description_create_tree2 (const char *local_abspath, svn_node_kind_t node_kind, svn_wc_operation_t operation, const svn_wc_conflict_version_t *src_left_version, const svn_wc_conflict_version_t *src_right_version, apr_pool_t *result_pool)
| Allocate an svn_wc_conflict_description_t structure in pool, initialize to represent a tree conflict, and return it.
svn_wc_conflict_description_t * | svn_wc_conflict_description_create_tree (const char *path, svn_wc_adm_access_t *adm_access, svn_node_kind_t node_kind, svn_wc_operation_t operation, svn_wc_conflict_version_t *src_left_version, svn_wc_conflict_version_t *src_right_version, apr_pool_t *pool)
| Similar to svn_wc_conflict_description_create_tree(), but returns a svn_wc_conflict_description_t *.
svn_wc_conflict_description2_t * | svn_wc__conflict_description2_dup (const svn_wc_conflict_description2_t *conflict, apr_pool_t *result_pool)
| Return a duplicate of conflict, allocated in result_pool.
svn_wc_conflict_result_t * | svn_wc_create_conflict_result (svn_wc_conflict_choice_t choice, const char *merged_file, apr_pool_t *pool)
| Allocate an svn_wc_conflict_result_t structure in pool, initialize and return it.
svn_error_t * | svn_wc_check_wc2 (int *wc_format, svn_wc_context_t *wc_ctx, const char *local_abspath, apr_pool_t *scratch_pool)
| Set *wc_format to local_abspath's working copy format version number if local_abspath is a valid working copy directory, else set it to 0.
svn_error_t * | svn_wc_check_wc (const char *path, int *wc_format, apr_pool_t *pool)
| Similar to svn_wc_check_wc2(), but with a relative path and no supplied working copy context.
svn_error_t * | svn_wc_has_binary_prop (svn_boolean_t *has_binary_prop, const char *path, svn_wc_adm_access_t *adm_access, apr_pool_t *pool)
| Set *has_binary_prop to `TRUE` iff path has been marked with a property indicating that it is non-text (in other words, binary).
svn_error_t * | svn_wc_text_modified_p2 (svn_boolean_t *modified_p, svn_wc_context_t *wc_ctx, const char *local_abspath, svn_boolean_t force_comparison, apr_pool_t *scratch_pool)
| Set *modified_p to non-zero if local_abspath's text is modified with regard to the base revision, else set *modified_p to zero.
svn_error_t * | svn_wc_text_modified_p (svn_boolean_t *modified_p, const char *filename, svn_boolean_t force_comparison, svn_wc_adm_access_t *adm_access, apr_pool_t *pool)
| Similar to svn_wc_text_modified_p2(), but with a relative path and adm_access baton?
svn_error_t * | svn_wc_props_modified_p2 (svn_boolean_t *modified_p, svn_wc_context_t *wc_ctx, const char *local_abspath, apr_pool_t *scratch_pool)
| Set *modified_p to non-zero if path's properties are modified with regard to the base revision, else set modified_p to zero.
svn_error_t * | svn_wc_props_modified_p (svn_boolean_t *modified_p, const char *path, svn_wc_adm_access_t *adm_access, apr_pool_t *pool)
| Similar to svn_wc_props_modified_p2(), but with a relative path and adm_access baton.
svn_error_t * | svn_wc_entry (const svn_wc_entry_t **entry, const char *path, svn_wc_adm_access_t *adm_access, svn_boolean_t show_hidden, apr_pool_t *pool)
| Set *entry to an entry for path, allocated in the access baton pool.
svn_error_t * | svn_wc_entries_read (apr_hash_t **entries, svn_wc_adm_access_t *adm_access, svn_boolean_t show_hidden, apr_pool_t *pool)
| Parse the `entries' file for adm_access and return a hash entries, whose keys are (`const char *`) entry names and values are (`svn_wc_entry_t *`).
svn_wc_entry_t * | svn_wc_entry_dup (const svn_wc_entry_t *entry, apr_pool_t *pool)
| Return a duplicate of entry, allocated in pool.
svn_wc_info_t * | svn_wc_info_dup (const svn_wc_info_t *info, apr_pool_t *pool)
| Return a duplicate of info, allocated in pool.
svn_error_t * | svn_wc_conflicted_p3 (svn_boolean_t *text_conflicted_p, svn_boolean_t *prop_conflicted_p, svn_boolean_t *tree_conflicted_p, svn_wc_context_t *wc_ctx, const char *local_abspath, apr_pool_t *scratch_pool)
| Given local_abspath in a dir under version control, decide if it is in a state of conflict; return the answers in *text_conflicted_p, *prop_conflicted_p, and *tree_conflicted_p.
svn_error_t * | svn_wc_conflicted_p2 (svn_boolean_t *text_conflicted_p, svn_boolean_t *prop_conflicted_p, svn_boolean_t *tree_conflicted_p, const char *path, svn_wc_adm_access_t *adm_access, apr_pool_t *pool)
| Similar to svn_wc_conflicted_p3(), but with a path/adm_access parameter pair in place of a wc_ctx/local_abspath pair.
svn_error_t * | svn_wc_conflicted_p (svn_boolean_t *text_conflicted_p, svn_boolean_t *prop_conflicted_p, const char *dir_path, const svn_wc_entry_t *entry, apr_pool_t *pool)
| Given a dir_path under version control, decide if one of its entries (entry) is in a state of conflict; return the answers in text_conflicted_p and prop_conflicted_p.
svn_error_t * | svn_wc_get_ancestry (char **url, svn_revnum_t *rev, const char *path, svn_wc_adm_access_t *adm_access, apr_pool_t *pool)
| Set *url and *rev to the ancestor URL and revision for path, allocating in pool.
svn_error_t * | svn_wc_walk_entries3 (const char *path, svn_wc_adm_access_t *adm_access, const svn_wc_entry_callbacks2_t *walk_callbacks, void *walk_baton, svn_depth_t depth, svn_boolean_t show_hidden, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *pool)
| A generic entry-walker.
svn_error_t * | svn_wc_walk_entries2 (const char *path, svn_wc_adm_access_t *adm_access, const svn_wc_entry_callbacks_t *walk_callbacks, void *walk_baton, svn_boolean_t show_hidden, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *pool)
| Similar to svn_wc_walk_entries3(), but without cancellation support or error handling from walk_callbacks, and with depth always set to svn_depth_infinity.
svn_error_t * | svn_wc_walk_entries (const char *path, svn_wc_adm_access_t *adm_access, const svn_wc_entry_callbacks_t *walk_callbacks, void *walk_baton, svn_boolean_t show_hidden, apr_pool_t *pool)
| Similar to svn_wc_walk_entries2(), but without cancellation support.
svn_error_t * | svn_wc_mark_missing_deleted (const char *path, svn_wc_adm_access_t *parent, apr_pool_t *pool)
| Mark missing path as 'deleted' in its parent's list of entries.
svn_error_t * | svn_wc_ensure_adm4 (svn_wc_context_t *wc_ctx, const char *local_abspath, const char *url, const char *repos_root_url, const char *repos_uuid, svn_revnum_t revision, svn_depth_t depth, apr_pool_t *scratch_pool)
| Ensure that an administrative area exists for local_abspath, so that local_abspath is a working copy subdir based on url at revision, with depth depth, and with repository UUID repos_uuid and repository root URL repos_root_url.
svn_error_t * | svn_wc_ensure_adm3 (const char *path, const char *uuid, const char *url, const char *repos, svn_revnum_t revision, svn_depth_t depth, apr_pool_t *pool)
| Similar to svn_wc_ensure_adm4(), but without the wc context parameter.
svn_error_t * | svn_wc_ensure_adm2 (const char *path, const char *uuid, const char *url, const char *repos, svn_revnum_t revision, apr_pool_t *pool)
| Similar to svn_wc_ensure_adm3(), but with depth set to svn_depth_infinity.
svn_error_t * | svn_wc_ensure_adm (const char *path, const char *uuid, const char *url, svn_revnum_t revision, apr_pool_t *pool)
| Similar to svn_wc_ensure_adm2(), but with repos set to `NULL`.
svn_error_t * | svn_wc_maybe_set_repos_root (svn_wc_adm_access_t *adm_access, const char *path, const char *repos, apr_pool_t *pool)
| Set the repository root URL of path to repos, if possible.
svn_wc_status3_t * | svn_wc_dup_status3 (const svn_wc_status3_t *orig_stat, apr_pool_t *pool)
| Return a deep copy of the orig_stat status structure, allocated in pool.
svn_wc_status2_t * | svn_wc_dup_status2 (const svn_wc_status2_t *orig_stat, apr_pool_t *pool)
| Same as svn_wc_dup_status3(), but for older svn_wc_status_t structures.
svn_wc_status_t * | svn_wc_dup_status (const svn_wc_status_t *orig_stat, apr_pool_t *pool)
| Same as svn_wc_dup_status2(), but for older svn_wc_status_t structures.
svn_error_t * | svn_wc_status3 (svn_wc_status3_t **status, svn_wc_context_t *wc_ctx, const char *local_abspath, apr_pool_t *result_pool, apr_pool_t *scratch_pool)
| Fill *status for local_abspath, allocating in result_pool.
svn_error_t * | svn_wc_status2 (svn_wc_status2_t **status, const char *path, svn_wc_adm_access_t *adm_access, apr_pool_t *pool)
| Similar to svn_wc_status3(), but with a adm_access baton and absolute path.
svn_error_t * | svn_wc_status (svn_wc_status_t **status, const char *path, svn_wc_adm_access_t *adm_access, apr_pool_t *pool)
| Same as svn_wc_status2(), but for older svn_wc_status_t structures.
svn_error_t * | svn_wc_walk_status (svn_wc_context_t *wc_ctx, const char *local_abspath, svn_depth_t depth, svn_boolean_t get_all, svn_boolean_t no_ignore, svn_boolean_t ignore_text_mods, const apr_array_header_t *ignore_patterns, svn_wc_status_func4_t status_func, void *status_baton, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *scratch_pool)
| Walk the working copy status of local_abspath using wc_ctx, by creating svn_wc_status3_t structures and sending these through status_func / status_baton.
svn_error_t * | svn_wc_get_status_editor5 (const svn_delta_editor_t **editor, void **edit_baton, void **set_locks_baton, svn_revnum_t *edit_revision, svn_wc_context_t *wc_ctx, const char *anchor_abspath, const char *target_basename, svn_depth_t depth, svn_boolean_t get_all, svn_boolean_t no_ignore, svn_boolean_t depth_as_sticky, svn_boolean_t server_performs_filtering, const apr_array_header_t *ignore_patterns, svn_wc_status_func4_t status_func, void *status_baton, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *result_pool, apr_pool_t *scratch_pool)
| Set *editor and *edit_baton to an editor that generates svn_wc_status3_t structures and sends them through status_func / status_baton.
svn_error_t * | svn_wc_get_status_editor4 (const svn_delta_editor_t **editor, void **edit_baton, void **set_locks_baton, svn_revnum_t *edit_revision, svn_wc_adm_access_t *anchor, const char *target, svn_depth_t depth, svn_boolean_t get_all, svn_boolean_t no_ignore, const apr_array_header_t *ignore_patterns, svn_wc_status_func3_t status_func, void *status_baton, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_traversal_info_t *traversal_info, apr_pool_t *pool)
| Same as svn_wc_get_status_editor5, but using svn_wc_status_func3_t instead of svn_wc_status_func4_t.
svn_error_t * | svn_wc_get_status_editor3 (const svn_delta_editor_t **editor, void **edit_baton, void **set_locks_baton, svn_revnum_t *edit_revision, svn_wc_adm_access_t *anchor, const char *target, svn_depth_t depth, svn_boolean_t get_all, svn_boolean_t no_ignore, const apr_array_header_t *ignore_patterns, svn_wc_status_func2_t status_func, void *status_baton, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_traversal_info_t *traversal_info, apr_pool_t *pool)
| Same as svn_wc_get_status_editor4(), but using svn_wc_status_func2_t instead of svn_wc_status_func3_t.
svn_error_t * | svn_wc_get_status_editor2 (const svn_delta_editor_t **editor, void **edit_baton, void **set_locks_baton, svn_revnum_t *edit_revision, svn_wc_adm_access_t *anchor, const char *target, apr_hash_t *config, svn_boolean_t recurse, svn_boolean_t get_all, svn_boolean_t no_ignore, svn_wc_status_func2_t status_func, void *status_baton, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_traversal_info_t *traversal_info, apr_pool_t *pool)
| Like svn_wc_get_status_editor3(), but with ignore_patterns provided from the corresponding value in config, and recurse instead of depth.
svn_error_t * | svn_wc_get_status_editor (const svn_delta_editor_t **editor, void **edit_baton, svn_revnum_t *edit_revision, svn_wc_adm_access_t *anchor, const char *target, apr_hash_t *config, svn_boolean_t recurse, svn_boolean_t get_all, svn_boolean_t no_ignore, svn_wc_status_func_t status_func, void *status_baton, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_traversal_info_t *traversal_info, apr_pool_t *pool)
| Same as svn_wc_get_status_editor2(), but with set_locks_baton set to `NULL`, and taking a deprecated svn_wc_status_func_t argument.
svn_error_t * | svn_wc_status_set_repos_locks (void *set_locks_baton, apr_hash_t *locks, const char *repos_root, apr_pool_t *pool)
| Associate locks, a hash table mapping `const char*` absolute repository paths to `svn_lock_t` objects, with a set_locks_baton returned by an earlier call to svn_wc_get_status_editor3().
svn_error_t * | svn_wc_copy3 (svn_wc_context_t *wc_ctx, const char *src_abspath, const char *dst_abspath, svn_boolean_t metadata_only, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_notify_func2_t notify_func, void *notify_baton, apr_pool_t *scratch_pool)
| Copy src_abspath to dst_abspath, and schedule dst_abspath for addition to the repository, remembering the copy history.
svn_error_t * | svn_wc_copy2 (const char *src, svn_wc_adm_access_t *dst_parent, const char *dst_basename, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_notify_func2_t notify_func, void *notify_baton, apr_pool_t *pool)
| Similar to svn_wc_copy3(), but takes access batons and a relative path and a basename instead of absolute paths and a working copy context.
svn_error_t * | svn_wc_copy (const char *src, svn_wc_adm_access_t *dst_parent, const char *dst_basename, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_notify_func_t notify_func, void *notify_baton, apr_pool_t *pool)
| Similar to svn_wc_copy2(), but takes an svn_wc_notify_func_t instead.
svn_error_t * | svn_wc_move (svn_wc_context_t *wc_ctx, const char *src_abspath, const char *dst_abspath, svn_boolean_t metadata_only, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_notify_func2_t notify_func, void *notify_baton, apr_pool_t *scratch_pool)
| Move src_abspath to dst_abspath, by scheduling dst_abspath for addition to the repository, remembering the history.
svn_error_t * | svn_wc_delete4 (svn_wc_context_t *wc_ctx, const char *local_abspath, svn_boolean_t keep_local, svn_boolean_t delete_unversioned_target, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_notify_func2_t notify_func, void *notify_baton, apr_pool_t *scratch_pool)
| Schedule local_abspath for deletion.
svn_error_t * | svn_wc_delete3 (const char *path, svn_wc_adm_access_t *adm_access, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_notify_func2_t notify_func, void *notify_baton, svn_boolean_t keep_local, apr_pool_t *pool)
| Similar to svn_wc_delete4, but uses an access baton and relative path instead of a working copy context and absolute path.
svn_error_t * | svn_wc_delete2 (const char *path, svn_wc_adm_access_t *adm_access, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_notify_func2_t notify_func, void *notify_baton, apr_pool_t *pool)
| Similar to svn_wc_delete3(), but with keep_local always set to FALSE.
svn_error_t * | svn_wc_delete (const char *path, svn_wc_adm_access_t *adm_access, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_notify_func_t notify_func, void *notify_baton, apr_pool_t *pool)
| Similar to svn_wc_delete2(), but takes an svn_wc_notify_func_t instead.
svn_error_t * | svn_wc_add_from_disk (svn_wc_context_t *wc_ctx, const char *local_abspath, svn_wc_notify_func2_t notify_func, void *notify_baton, apr_pool_t *scratch_pool)
| Schedule the single node that exists on disk at local_abspath for addition to the working copy.
svn_error_t * | svn_wc_add4 (svn_wc_context_t *wc_ctx, const char *local_abspath, svn_depth_t depth, const char *copyfrom_url, svn_revnum_t copyfrom_rev, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_notify_func2_t notify_func, void *notify_baton, apr_pool_t *scratch_pool)
| Put local_abspath under version control by registering it as addition or copy in the database containing its parent.
svn_error_t * | svn_wc_add3 (const char *path, svn_wc_adm_access_t *parent_access, svn_depth_t depth, const char *copyfrom_url, svn_revnum_t copyfrom_rev, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_notify_func2_t notify_func, void *notify_baton, apr_pool_t *pool)
| Similar to svn_wc_add4(), but with an access baton and relative path instead of a context and absolute path.
svn_error_t * | svn_wc_add2 (const char *path, svn_wc_adm_access_t *parent_access, const char *copyfrom_url, svn_revnum_t copyfrom_rev, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_notify_func2_t notify_func, void *notify_baton, apr_pool_t *pool)
| Similar to svn_wc_add3(), but with the depth parameter always svn_depth_infinity.
svn_error_t * | svn_wc_add (const char *path, svn_wc_adm_access_t *parent_access, const char *copyfrom_url, svn_revnum_t copyfrom_rev, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_notify_func_t notify_func, void *notify_baton, apr_pool_t *pool)
| Similar to svn_wc_add2(), but takes an svn_wc_notify_func_t instead.
svn_error_t * | svn_wc_add_repos_file4 (svn_wc_context_t *wc_ctx, const char *local_abspath, svn_stream_t *new_base_contents, svn_stream_t *new_contents, apr_hash_t *new_base_props, apr_hash_t *new_props, const char *copyfrom_url, svn_revnum_t copyfrom_rev, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *scratch_pool)
| Add a file to a working copy at local_abspath, obtaining the text-base's contents from new_base_contents, the wc file's content from new_contents, its unmodified properties from new_base_props and its actual properties from new_props.
svn_error_t * | svn_wc_add_repos_file3 (const char *dst_path, svn_wc_adm_access_t *adm_access, svn_stream_t *new_base_contents, svn_stream_t *new_contents, apr_hash_t *new_base_props, apr_hash_t *new_props, const char *copyfrom_url, svn_revnum_t copyfrom_rev, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_notify_func2_t notify_func, void *notify_baton, apr_pool_t *scratch_pool)
| Similar to svn_wc_add_repos_file4, but uses access batons and a relative path instead of a working copy context and absolute path.
svn_error_t * | svn_wc_add_repos_file2 (const char *dst_path, svn_wc_adm_access_t *adm_access, const char *new_text_base_path, const char *new_text_path, apr_hash_t *new_base_props, apr_hash_t *new_props, const char *copyfrom_url, svn_revnum_t copyfrom_rev, apr_pool_t *pool)
| Same as svn_wc_add_repos_file3(), except that it has pathnames rather than streams for the text base, and actual text, and has no cancellation.
svn_error_t * | svn_wc_add_repos_file (const char *dst_path, svn_wc_adm_access_t *adm_access, const char *new_text_path, apr_hash_t *new_props, const char *copyfrom_url, svn_revnum_t copyfrom_rev, apr_pool_t *pool)
| Same as svn_wc_add_repos_file3(), except that it doesn't have the BASE arguments or cancellation.
svn_error_t * | svn_wc_remove_from_revision_control2 (svn_wc_context_t *wc_ctx, const char *local_abspath, svn_boolean_t destroy_wf, svn_boolean_t instant_error, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *pool)
| Remove local_abspath from revision control.
svn_error_t * | svn_wc_remove_from_revision_control (svn_wc_adm_access_t *adm_access, const char *name, svn_boolean_t destroy_wf, svn_boolean_t instant_error, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *pool)
| Similar to svn_wc_remove_from_revision_control2() but with a name and access baton.
svn_error_t * | svn_wc_resolved_conflict5 (svn_wc_context_t *wc_ctx, const char *local_abspath, svn_depth_t depth, svn_boolean_t resolve_text, const char *resolve_prop, svn_boolean_t resolve_tree, svn_wc_conflict_choice_t conflict_choice, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_notify_func2_t notify_func, void *notify_baton, apr_pool_t *scratch_pool)
| Assuming local_abspath is under version control or a tree conflict victim and in a state of conflict, then take local_abspath *out* of this state.
svn_error_t * | svn_wc_resolved_conflict4 (const char *path, svn_wc_adm_access_t *adm_access, svn_boolean_t resolve_text, svn_boolean_t resolve_props, svn_boolean_t resolve_tree, svn_depth_t depth, svn_wc_conflict_choice_t conflict_choice, svn_wc_notify_func2_t notify_func, void *notify_baton, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *pool)
| Similar to svn_wc_resolved_conflict5, but takes an absolute path and an access baton.
svn_error_t * | svn_wc_resolved_conflict3 (const char *path, svn_wc_adm_access_t *adm_access, svn_boolean_t resolve_text, svn_boolean_t resolve_props, svn_depth_t depth, svn_wc_conflict_choice_t conflict_choice, svn_wc_notify_func2_t notify_func, void *notify_baton, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *pool)
| Similar to svn_wc_resolved_conflict4(), but without tree-conflict resolution support.
svn_error_t * | svn_wc_resolved_conflict2 (const char *path, svn_wc_adm_access_t *adm_access, svn_boolean_t resolve_text, svn_boolean_t resolve_props, svn_boolean_t recurse, svn_wc_notify_func2_t notify_func, void *notify_baton, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *pool)
| Similar to svn_wc_resolved_conflict3(), but without automatic conflict resolution support, and with depth set according to recurse: if recurse is TRUE, depth is svn_depth_infinity, else it is svn_depth_files.
svn_error_t * | svn_wc_resolved_conflict (const char *path, svn_wc_adm_access_t *adm_access, svn_boolean_t resolve_text, svn_boolean_t resolve_props, svn_boolean_t recurse, svn_wc_notify_func_t notify_func, void *notify_baton, apr_pool_t *pool)
| Similar to svn_wc_resolved_conflict2(), but takes an svn_wc_notify_func_t and doesn't have cancellation support.
svn_wc_committed_queue_t * | svn_wc_committed_queue_create (apr_pool_t *pool)
| Create a queue for use with svn_wc_queue_committed() and svn_wc_process_committed_queue().
svn_error_t * | svn_wc_queue_committed3 (svn_wc_committed_queue_t *queue, svn_wc_context_t *wc_ctx, const char *local_abspath, svn_boolean_t recurse, const apr_array_header_t *wcprop_changes, svn_boolean_t remove_lock, svn_boolean_t remove_changelist, const svn_checksum_t *sha1_checksum, apr_pool_t *scratch_pool)
| Queue committed items to be processed later by svn_wc_process_committed_queue2().
svn_error_t * | svn_wc_queue_committed2 (svn_wc_committed_queue_t *queue, const char *path, svn_wc_adm_access_t *adm_access, svn_boolean_t recurse, const apr_array_header_t *wcprop_changes, svn_boolean_t remove_lock, svn_boolean_t remove_changelist, const svn_checksum_t *md5_checksum, apr_pool_t *scratch_pool)
| Same as svn_wc_queue_committed3() except path doesn't have to be an abspath and adm_access is unused and a SHA-1 checksum cannot be specified.
svn_error_t * | svn_wc_queue_committed (svn_wc_committed_queue_t **queue, const char *path, svn_wc_adm_access_t *adm_access, svn_boolean_t recurse, const apr_array_header_t *wcprop_changes, svn_boolean_t remove_lock, svn_boolean_t remove_changelist, const unsigned char *digest, apr_pool_t *pool)
| Same as svn_wc_queue_committed2() but the queue parameter has an extra indirection and digest is supplied instead of a checksum type.
svn_error_t * | svn_wc_process_committed_queue2 (svn_wc_committed_queue_t *queue, svn_wc_context_t *wc_ctx, svn_revnum_t new_revnum, const char *rev_date, const char *rev_author, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *scratch_pool)
| Bump all items in queue to new_revnum after a commit succeeds.
svn_error_t * | svn_wc_process_committed_queue (svn_wc_committed_queue_t *queue, svn_wc_adm_access_t *adm_access, svn_revnum_t new_revnum, const char *rev_date, const char *rev_author, apr_pool_t *pool)
svn_error_t * | svn_wc_process_committed4 (const char *path, svn_wc_adm_access_t *adm_access, svn_boolean_t recurse, svn_revnum_t new_revnum, const char *rev_date, const char *rev_author, const apr_array_header_t *wcprop_changes, svn_boolean_t remove_lock, svn_boolean_t remove_changelist, const unsigned char *digest, apr_pool_t *pool)
svn_error_t * | svn_wc_process_committed3 (const char *path, svn_wc_adm_access_t *adm_access, svn_boolean_t recurse, svn_revnum_t new_revnum, const char *rev_date, const char *rev_author, const apr_array_header_t *wcprop_changes, svn_boolean_t remove_lock, const unsigned char *digest, apr_pool_t *pool)
svn_error_t * | svn_wc_process_committed2 (const char *path, svn_wc_adm_access_t *adm_access, svn_boolean_t recurse, svn_revnum_t new_revnum, const char *rev_date, const char *rev_author, const apr_array_header_t *wcprop_changes, svn_boolean_t remove_lock, apr_pool_t *pool)
svn_error_t * | svn_wc_process_committed (const char *path, svn_wc_adm_access_t *adm_access, svn_boolean_t recurse, svn_revnum_t new_revnum, const char *rev_date, const char *rev_author, const apr_array_header_t *wcprop_changes, apr_pool_t *pool)
svn_error_t * | svn_wc_crawl_revisions5 (svn_wc_context_t *wc_ctx, const char *local_abspath, const svn_ra_reporter3_t *reporter, void *report_baton, svn_boolean_t restore_files, svn_depth_t depth, svn_boolean_t honor_depth_exclude, svn_boolean_t depth_compatibility_trick, svn_boolean_t use_commit_times, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_notify_func2_t notify_func, void *notify_baton, apr_pool_t *scratch_pool)
| Do a depth-first crawl in a working copy, beginning at local_abspath, using wc_ctx for accessing the working copy.
svn_error_t * | svn_wc_crawl_revisions4 (const char *path, svn_wc_adm_access_t *adm_access, const svn_ra_reporter3_t *reporter, void *report_baton, svn_boolean_t restore_files, svn_depth_t depth, svn_boolean_t honor_depth_exclude, svn_boolean_t depth_compatibility_trick, svn_boolean_t use_commit_times, svn_wc_notify_func2_t notify_func, void *notify_baton, svn_wc_traversal_info_t *traversal_info, apr_pool_t *pool)
| Similar to svn_wc_crawl_revisions5, but with a relative path and access baton instead of an absolute path and wc_ctx.
svn_error_t * | svn_wc_crawl_revisions3 (const char *path, svn_wc_adm_access_t *adm_access, const svn_ra_reporter3_t *reporter, void *report_baton, svn_boolean_t restore_files, svn_depth_t depth, svn_boolean_t depth_compatibility_trick, svn_boolean_t use_commit_times, svn_wc_notify_func2_t notify_func, void *notify_baton, svn_wc_traversal_info_t *traversal_info, apr_pool_t *pool)
| Similar to svn_wc_crawl_revisions4, but with honor_depth_exclude always set to false.
svn_error_t * | svn_wc_crawl_revisions2 (const char *path, svn_wc_adm_access_t *adm_access, const svn_ra_reporter2_t *reporter, void *report_baton, svn_boolean_t restore_files, svn_boolean_t recurse, svn_boolean_t use_commit_times, svn_wc_notify_func2_t notify_func, void *notify_baton, svn_wc_traversal_info_t *traversal_info, apr_pool_t *pool)
| Similar to svn_wc_crawl_revisions3, but taking svn_ra_reporter2_t instead of svn_ra_reporter3_t, and therefore only able to report svn_depth_infinity for depths; and taking recurse instead of depth; and with depth_compatibility_trick always false.
svn_error_t * | svn_wc_crawl_revisions (const char *path, svn_wc_adm_access_t *adm_access, const svn_ra_reporter_t *reporter, void *report_baton, svn_boolean_t restore_files, svn_boolean_t recurse, svn_boolean_t use_commit_times, svn_wc_notify_func_t notify_func, void *notify_baton, svn_wc_traversal_info_t *traversal_info, apr_pool_t *pool)
| Similar to svn_wc_crawl_revisions2(), but takes an svn_wc_notify_func_t and a svn_ra_reporter_t instead.
svn_error_t * | svn_wc_is_wc_root2 (svn_boolean_t *wc_root, svn_wc_context_t *wc_ctx, const char *local_abspath, apr_pool_t *scratch_pool)
| Set *wc_root to `TRUE` if local_abspath represents a "working copy root", `FALSE` otherwise. Here, local_abspath is a "working copy root" if its parent directory is not a WC or if its parent directory's repository URL is not the parent of its own repository URL.
svn_error_t * | svn_wc_is_wc_root (svn_boolean_t *wc_root, const char *path, svn_wc_adm_access_t *adm_access, apr_pool_t *pool)
| Similar to svn_wc_is_wc_root2(), but with an access baton and relative path.
svn_error_t * | svn_wc_get_actual_target2 (const char **anchor, const char **target, svn_wc_context_t *wc_ctx, const char *path, apr_pool_t *result_pool, apr_pool_t *scratch_pool)
| Conditionally split path into an anchor and target for the purpose of updating and committing.
svn_error_t * | svn_wc_get_actual_target (const char *path, const char **anchor, const char **target, apr_pool_t *pool)
| Similar to svn_wc_get_actual_target2(), but without the wc context, and with a absolute path.
svn_error_t * | svn_wc_get_update_editor4 (const svn_delta_editor_t **editor, void **edit_baton, svn_revnum_t *target_revision, svn_wc_context_t *wc_ctx, const char *anchor_abspath, const char *target_basename, svn_boolean_t use_commit_times, svn_depth_t depth, svn_boolean_t depth_is_sticky, svn_boolean_t allow_unver_obstructions, svn_boolean_t adds_as_modification, svn_boolean_t server_performs_filtering, svn_boolean_t clean_checkout, const char *diff3_cmd, const apr_array_header_t *preserved_exts, svn_wc_dirents_func_t fetch_dirents_func, void *fetch_dirents_baton, svn_wc_conflict_resolver_func2_t conflict_func, void *conflict_baton, svn_wc_external_update_t external_func, void *external_baton, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_notify_func2_t notify_func, void *notify_baton, apr_pool_t *result_pool, apr_pool_t *scratch_pool)
| Set *editor and *edit_baton to an editor and baton for updating a working copy.
svn_error_t * | svn_wc_get_update_editor3 (svn_revnum_t *target_revision, svn_wc_adm_access_t *anchor, const char *target, svn_boolean_t use_commit_times, svn_depth_t depth, svn_boolean_t depth_is_sticky, svn_boolean_t allow_unver_obstructions, svn_wc_notify_func2_t notify_func, void *notify_baton, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_conflict_resolver_func_t conflict_func, void *conflict_baton, svn_wc_get_file_t fetch_func, void *fetch_baton, const char *diff3_cmd, const apr_array_header_t *preserved_exts, const svn_delta_editor_t **editor, void **edit_baton, svn_wc_traversal_info_t *ti, apr_pool_t *pool)
| Similar to svn_wc_get_update_editor4, but uses access batons and relative path instead of a working copy context-abspath pair and svn_wc_traversal_info_t instead of an externals callback.
svn_error_t * | svn_wc_get_update_editor2 (svn_revnum_t *target_revision, svn_wc_adm_access_t *anchor, const char *target, svn_boolean_t use_commit_times, svn_boolean_t recurse, svn_wc_notify_func2_t notify_func, void *notify_baton, svn_cancel_func_t cancel_func, void *cancel_baton, const char *diff3_cmd, const svn_delta_editor_t **editor, void **edit_baton, svn_wc_traversal_info_t *ti, apr_pool_t *pool)
| Similar to svn_wc_get_update_editor3() but with the allow_unver_obstructions parameter always set to FALSE, conflict_func and baton set to NULL, fetch_func and baton set to NULL, preserved_exts set to NULL, depth_is_sticky set to FALSE, and depth set according to recurse: if recurse is TRUE, pass svn_depth_infinity, if FALSE, pass svn_depth_files.
svn_error_t * | svn_wc_get_update_editor (svn_revnum_t *target_revision, svn_wc_adm_access_t *anchor, const char *target, svn_boolean_t use_commit_times, svn_boolean_t recurse, svn_wc_notify_func_t notify_func, void *notify_baton, svn_cancel_func_t cancel_func, void *cancel_baton, const char *diff3_cmd, const svn_delta_editor_t **editor, void **edit_baton, svn_wc_traversal_info_t *ti, apr_pool_t *pool)
| Similar to svn_wc_get_update_editor2(), but takes an svn_wc_notify_func_t instead.
svn_error_t * | svn_wc_get_switch_editor4 (const svn_delta_editor_t **editor, void **edit_baton, svn_revnum_t *target_revision, svn_wc_context_t *wc_ctx, const char *anchor_abspath, const char *target_basename, const char *switch_url, svn_boolean_t use_commit_times, svn_depth_t depth, svn_boolean_t depth_is_sticky, svn_boolean_t allow_unver_obstructions, svn_boolean_t server_performs_filtering, const char *diff3_cmd, const apr_array_header_t *preserved_exts, svn_wc_dirents_func_t fetch_dirents_func, void *fetch_dirents_baton, svn_wc_conflict_resolver_func2_t conflict_func, void *conflict_baton, svn_wc_external_update_t external_func, void *external_baton, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_notify_func2_t notify_func, void *notify_baton, apr_pool_t *result_pool, apr_pool_t *scratch_pool)
| A variant of svn_wc_get_update_editor4().
svn_error_t * | svn_wc_get_switch_editor3 (svn_revnum_t *target_revision, svn_wc_adm_access_t *anchor, const char *target, const char *switch_url, svn_boolean_t use_commit_times, svn_depth_t depth, svn_boolean_t depth_is_sticky, svn_boolean_t allow_unver_obstructions, svn_wc_notify_func2_t notify_func, void *notify_baton, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_conflict_resolver_func_t conflict_func, void *conflict_baton, const char *diff3_cmd, const apr_array_header_t *preserved_exts, const svn_delta_editor_t **editor, void **edit_baton, svn_wc_traversal_info_t *ti, apr_pool_t *pool)
| Similar to svn_wc_get_switch_editor4, but uses access batons and relative path instead of a working copy context and svn_wc_traversal_info_t instead of an externals callback.
svn_error_t * | svn_wc_get_switch_editor2 (svn_revnum_t *target_revision, svn_wc_adm_access_t *anchor, const char *target, const char *switch_url, svn_boolean_t use_commit_times, svn_boolean_t recurse, svn_wc_notify_func2_t notify_func, void *notify_baton, svn_cancel_func_t cancel_func, void *cancel_baton, const char *diff3_cmd, const svn_delta_editor_t **editor, void **edit_baton, svn_wc_traversal_info_t *ti, apr_pool_t *pool)
| Similar to svn_wc_get_switch_editor3() but with the allow_unver_obstructions parameter always set to FALSE, preserved_exts set to NULL, conflict_func and baton set to NULL, depth_is_sticky set to FALSE, and depth set according to recurse: if recurse is TRUE, pass svn_depth_infinity, if FALSE, pass svn_depth_files.
svn_error_t * | svn_wc_get_switch_editor (svn_revnum_t *target_revision, svn_wc_adm_access_t *anchor, const char *target, const char *switch_url, svn_boolean_t use_commit_times, svn_boolean_t recurse, svn_wc_notify_func_t notify_func, void *notify_baton, svn_cancel_func_t cancel_func, void *cancel_baton, const char *diff3_cmd, const svn_delta_editor_t **editor, void **edit_baton, svn_wc_traversal_info_t *ti, apr_pool_t *pool)
| Similar to svn_wc_get_switch_editor2(), but takes an svn_wc_notify_func_t instead.
svn_error_t * | svn_wc_prop_list2 (apr_hash_t **props, svn_wc_context_t *wc_ctx, const char *local_abspath, apr_pool_t *result_pool, apr_pool_t *scratch_pool)
| Set *props to a hash table mapping `char *` names onto `svn_string_t *` values for all the regular properties of local_abspath.
svn_error_t * | svn_wc_prop_list (apr_hash_t **props, const char *path, svn_wc_adm_access_t *adm_access, apr_pool_t *pool)
| Similar to svn_wc_prop_list2() but with a svn_wc_adm_access_t / relative path parameter pair.
svn_error_t * | svn_wc_get_pristine_props (apr_hash_t **props, svn_wc_context_t *wc_ctx, const char *local_abspath, apr_pool_t *result_pool, apr_pool_t *scratch_pool)
| Return the set of "pristine" properties for local_abspath.
svn_error_t * | svn_wc_prop_get2 (const svn_string_t **value, svn_wc_context_t *wc_ctx, const char *local_abspath, const char *name, apr_pool_t *result_pool, apr_pool_t *scratch_pool)
| Set *value to the value of property name for local_abspath, allocating *value in result_pool.
svn_error_t * | svn_wc_prop_get (const svn_string_t **value, const char *name, const char *path, svn_wc_adm_access_t *adm_access, apr_pool_t *pool)
| Similar to svn_wc_prop_get2(), but with a svn_wc_adm_access_t / relative path parameter pair.
svn_error_t * | svn_wc_prop_set4 (svn_wc_context_t *wc_ctx, const char *local_abspath, const char *name, const svn_string_t *value, svn_depth_t depth, svn_boolean_t skip_checks, const apr_array_header_t *changelist_filter, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_notify_func2_t notify_func, void *notify_baton, apr_pool_t *scratch_pool)
| Set property name to value for local_abspath, or if value is NULL, remove property name from local_abspath.
svn_error_t * | svn_wc_prop_set3 (const char *name, const svn_string_t *value, const char *path, svn_wc_adm_access_t *adm_access, svn_boolean_t skip_checks, svn_wc_notify_func2_t notify_func, void *notify_baton, apr_pool_t *pool)
| Similar to svn_wc_prop_set4(), but with a svn_wc_adm_access_t / relative path parameter pair, no depth parameter, no changelist filtering (for the depth-based property setting), and no cancelation.
svn_error_t * | svn_wc_prop_set2 (const char *name, const svn_string_t *value, const char *path, svn_wc_adm_access_t *adm_access, svn_boolean_t skip_checks, apr_pool_t *pool)
| Like svn_wc_prop_set3(), but without the notification callbacks.
svn_error_t * | svn_wc_prop_set (const char *name, const svn_string_t *value, const char *path, svn_wc_adm_access_t *adm_access, apr_pool_t *pool)
| Like svn_wc_prop_set2(), but with skip_checks always FALSE.
svn_boolean_t | svn_wc_is_normal_prop (const char *name)
| Return TRUE iff name is a 'normal' property name.
svn_boolean_t | svn_wc_is_wc_prop (const char *name)
| Return TRUE iff name is a 'wc' property name.
svn_boolean_t | svn_wc_is_entry_prop (const char *name)
| Return TRUE iff name is a 'entry' property name.
svn_error_t * | svn_wc_canonicalize_svn_prop (const svn_string_t **propval_p, const char *propname, const svn_string_t *propval, const char *path, svn_node_kind_t kind, svn_boolean_t skip_some_checks, svn_wc_canonicalize_svn_prop_get_file_t prop_getter, void *getter_baton, apr_pool_t *pool)
| Canonicalize the value of an svn:* property propname with value propval.
svn_error_t * | svn_wc_get_diff_editor6 (const svn_delta_editor_t **editor, void **edit_baton, svn_wc_context_t *wc_ctx, const char *anchor_abspath, const char *target, svn_depth_t depth, svn_boolean_t ignore_ancestry, svn_boolean_t show_copies_as_adds, svn_boolean_t use_git_diff_format, svn_boolean_t use_text_base, svn_boolean_t reverse_order, svn_boolean_t server_performs_filtering, const apr_array_header_t *changelist_filter, const svn_wc_diff_callbacks4_t *callbacks, void *callback_baton, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *result_pool, apr_pool_t *scratch_pool)
| Return an editor/edit_baton for diffing a working copy against the repository.
svn_error_t * | svn_wc_get_diff_editor5 (svn_wc_adm_access_t *anchor, const char *target, const svn_wc_diff_callbacks3_t *callbacks, void *callback_baton, svn_depth_t depth, svn_boolean_t ignore_ancestry, svn_boolean_t use_text_base, svn_boolean_t reverse_order, svn_cancel_func_t cancel_func, void *cancel_baton, const apr_array_header_t *changelist_filter, const svn_delta_editor_t **editor, void **edit_baton, apr_pool_t *pool)
| Similar to svn_wc_get_diff_editor6(), but with an access baton and relative path.
svn_error_t * | svn_wc_get_diff_editor4 (svn_wc_adm_access_t *anchor, const char *target, const svn_wc_diff_callbacks2_t *callbacks, void *callback_baton, svn_depth_t depth, svn_boolean_t ignore_ancestry, svn_boolean_t use_text_base, svn_boolean_t reverse_order, svn_cancel_func_t cancel_func, void *cancel_baton, const apr_array_header_t *changelist_filter, const svn_delta_editor_t **editor, void **edit_baton, apr_pool_t *pool)
| Similar to svn_wc_get_diff_editor5(), but with an svn_wc_diff_callbacks2_t instead of svn_wc_diff_callbacks3_t.
svn_error_t * | svn_wc_get_diff_editor3 (svn_wc_adm_access_t *anchor, const char *target, const svn_wc_diff_callbacks2_t *callbacks, void *callback_baton, svn_boolean_t recurse, svn_boolean_t ignore_ancestry, svn_boolean_t use_text_base, svn_boolean_t reverse_order, svn_cancel_func_t cancel_func, void *cancel_baton, const svn_delta_editor_t **editor, void **edit_baton, apr_pool_t *pool)
| Similar to svn_wc_get_diff_editor4(), but with changelist_filter passed as `NULL`, and depth set to svn_depth_infinity if recurse is TRUE, or svn_depth_files if recurse is FALSE.
svn_error_t * | svn_wc_get_diff_editor2 (svn_wc_adm_access_t *anchor, const char *target, const svn_wc_diff_callbacks_t *callbacks, void *callback_baton, svn_boolean_t recurse, svn_boolean_t ignore_ancestry, svn_boolean_t use_text_base, svn_boolean_t reverse_order, svn_cancel_func_t cancel_func, void *cancel_baton, const svn_delta_editor_t **editor, void **edit_baton, apr_pool_t *pool)
| Similar to svn_wc_get_diff_editor3(), but with an svn_wc_diff_callbacks_t instead of svn_wc_diff_callbacks2_t.
svn_error_t * | svn_wc_get_diff_editor (svn_wc_adm_access_t *anchor, const char *target, const svn_wc_diff_callbacks_t *callbacks, void *callback_baton, svn_boolean_t recurse, svn_boolean_t use_text_base, svn_boolean_t reverse_order, svn_cancel_func_t cancel_func, void *cancel_baton, const svn_delta_editor_t **editor, void **edit_baton, apr_pool_t *pool)
| Similar to svn_wc_get_diff_editor2(), but with ignore_ancestry always set to `FALSE`.
svn_error_t * | svn_wc_diff6 (svn_wc_context_t *wc_ctx, const char *target_abspath, const svn_wc_diff_callbacks4_t *callbacks, void *callback_baton, svn_depth_t depth, svn_boolean_t ignore_ancestry, svn_boolean_t show_copies_as_adds, svn_boolean_t use_git_diff_format, const apr_array_header_t *changelist_filter, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *scratch_pool)
| Compare working copy against the text-base.
svn_error_t * | svn_wc_diff5 (svn_wc_adm_access_t *anchor, const char *target, const svn_wc_diff_callbacks3_t *callbacks, void *callback_baton, svn_depth_t depth, svn_boolean_t ignore_ancestry, const apr_array_header_t *changelist_filter, apr_pool_t *pool)
| Similar to svn_wc_diff6(), but with a svn_wc_diff_callbacks3_t argument instead of svn_wc_diff_callbacks4_t, show_copies_as_adds, and use_git_diff_format set to * `FALSE`.
svn_error_t * | svn_wc_diff4 (svn_wc_adm_access_t *anchor, const char *target, const svn_wc_diff_callbacks2_t *callbacks, void *callback_baton, svn_depth_t depth, svn_boolean_t ignore_ancestry, const apr_array_header_t *changelist_filter, apr_pool_t *pool)
| Similar to svn_wc_diff5(), but with a svn_wc_diff_callbacks2_t argument instead of svn_wc_diff_callbacks3_t.
svn_error_t * | svn_wc_diff3 (svn_wc_adm_access_t *anchor, const char *target, const svn_wc_diff_callbacks2_t *callbacks, void *callback_baton, svn_boolean_t recurse, svn_boolean_t ignore_ancestry, apr_pool_t *pool)
| Similar to svn_wc_diff4(), but with changelist_filter passed `NULL`, and depth set to svn_depth_infinity if recurse is TRUE, or svn_depth_files if recurse is FALSE.
svn_error_t * | svn_wc_diff2 (svn_wc_adm_access_t *anchor, const char *target, const svn_wc_diff_callbacks_t *callbacks, void *callback_baton, svn_boolean_t recurse, svn_boolean_t ignore_ancestry, apr_pool_t *pool)
| Similar to svn_wc_diff3(), but with a svn_wc_diff_callbacks_t argument instead of svn_wc_diff_callbacks2_t.
svn_error_t * | svn_wc_diff (svn_wc_adm_access_t *anchor, const char *target, const svn_wc_diff_callbacks_t *callbacks, void *callback_baton, svn_boolean_t recurse, apr_pool_t *pool)
| Similar to svn_wc_diff2(), but with ignore_ancestry always set to `FALSE`.
svn_error_t * | svn_wc_get_prop_diffs2 (apr_array_header_t **propchanges, apr_hash_t **original_props, svn_wc_context_t *wc_ctx, const char *local_abspath, apr_pool_t *result_pool, apr_pool_t *scratch_pool)
| Given a local_abspath to a file or directory under version control, discover any local changes made to properties and/or the set of 'pristine' properties.
svn_error_t * | svn_wc_get_prop_diffs (apr_array_header_t **propchanges, apr_hash_t **original_props, const char *path, svn_wc_adm_access_t *adm_access, apr_pool_t *pool)
| Similar to svn_wc_get_prop_diffs2(), but with a svn_wc_adm_access_t / relative path parameter pair.
svn_error_t * | svn_wc_merge4 (enum svn_wc_merge_outcome_t *merge_outcome, svn_wc_context_t *wc_ctx, const char *left_abspath, const char *right_abspath, const char *target_abspath, const char *left_label, const char *right_label, const char *target_label, const svn_wc_conflict_version_t *left_version, const svn_wc_conflict_version_t *right_version, svn_boolean_t dry_run, const char *diff3_cmd, const apr_array_header_t *merge_options, const apr_array_header_t *prop_diff, svn_wc_conflict_resolver_func2_t conflict_func, void *conflict_baton, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *scratch_pool)
| Given absolute paths to three fulltexts, merge the differences between left_abspath and right_abspath into target_abspath.
svn_error_t * | svn_wc_merge3 (enum svn_wc_merge_outcome_t *merge_outcome, const char *left, const char *right, const char *merge_target, svn_wc_adm_access_t *adm_access, const char *left_label, const char *right_label, const char *target_label, svn_boolean_t dry_run, const char *diff3_cmd, const apr_array_header_t *merge_options, const apr_array_header_t *prop_diff, svn_wc_conflict_resolver_func_t conflict_func, void *conflict_baton, apr_pool_t *pool)
| Similar to svn_wc_merge4() but takes relative paths and an access baton.
svn_error_t * | svn_wc_merge2 (enum svn_wc_merge_outcome_t *merge_outcome, const char *left, const char *right, const char *merge_target, svn_wc_adm_access_t *adm_access, const char *left_label, const char *right_label, const char *target_label, svn_boolean_t dry_run, const char *diff3_cmd, const apr_array_header_t *merge_options, apr_pool_t *pool)
| Similar to svn_wc_merge3(), but with prop_diff, conflict_func, conflict_baton set to NULL.
svn_error_t * | svn_wc_merge (const char *left, const char *right, const char *merge_target, svn_wc_adm_access_t *adm_access, const char *left_label, const char *right_label, const char *target_label, svn_boolean_t dry_run, enum svn_wc_merge_outcome_t *merge_outcome, const char *diff3_cmd, apr_pool_t *pool)
| Similar to svn_wc_merge2(), but with merge_options set to NULL.
svn_error_t * | svn_wc_merge_props3 (svn_wc_notify_state_t *state, svn_wc_context_t *wc_ctx, const char *local_abspath, const svn_wc_conflict_version_t *left_version, const svn_wc_conflict_version_t *right_version, apr_hash_t *baseprops, const apr_array_header_t *propchanges, svn_boolean_t dry_run, svn_wc_conflict_resolver_func2_t conflict_func, void *conflict_baton, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *scratch_pool)
| Given a local_abspath under version control, merge an array of propchanges into the path's existing properties.
svn_error_t * | svn_wc_merge_props2 (svn_wc_notify_state_t *state, const char *path, svn_wc_adm_access_t *adm_access, apr_hash_t *baseprops, const apr_array_header_t *propchanges, svn_boolean_t base_merge, svn_boolean_t dry_run, svn_wc_conflict_resolver_func_t conflict_func, void *conflict_baton, apr_pool_t *pool)
| Similar to svn_wc_merge_props3, but takes an access baton and relative path, no cancel_function, and no left and right version.
svn_error_t * | svn_wc_merge_props (svn_wc_notify_state_t *state, const char *path, svn_wc_adm_access_t *adm_access, apr_hash_t *baseprops, const apr_array_header_t *propchanges, svn_boolean_t base_merge, svn_boolean_t dry_run, apr_pool_t *pool)
| Same as svn_wc_merge_props2(), but with a conflict_func (and baton) of NULL.
svn_error_t * | svn_wc_merge_prop_diffs (svn_wc_notify_state_t *state, const char *path, svn_wc_adm_access_t *adm_access, const apr_array_header_t *propchanges, svn_boolean_t base_merge, svn_boolean_t dry_run, apr_pool_t *pool)
| Similar to svn_wc_merge_props(), but no baseprops are given.
svn_error_t * | svn_wc_get_pristine_contents2 (svn_stream_t **contents, svn_wc_context_t *wc_ctx, const char *local_abspath, apr_pool_t *result_pool, apr_pool_t *scratch_pool)
| Given a path to a wc file, return in *contents a readonly stream to the pristine contents of the file that would serve as base content for the next commit.
svn_error_t * | svn_wc_get_pristine_contents (svn_stream_t **contents, const char *path, apr_pool_t *result_pool, apr_pool_t *scratch_pool)
| Similar to svn_wc_get_pristine_contents2, but takes no working copy context and a path that can be relative.
svn_error_t * | svn_wc_get_pristine_copy_path (const char *path, const char **pristine_path, apr_pool_t *pool)
| Set *pristine_path to the path of the "normal" pristine text file for the versioned file path.
svn_error_t * | svn_wc_cleanup3 (svn_wc_context_t *wc_ctx, const char *local_abspath, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *scratch_pool)
| Recurse from local_abspath, cleaning up unfinished log business.
svn_error_t * | svn_wc_cleanup2 (const char *path, const char *diff3_cmd, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *pool)
| Similar to svn_wc_cleanup3() but uses relative paths and creates its own swn_wc_context_t.
svn_error_t * | svn_wc_cleanup (const char *path, svn_wc_adm_access_t *optional_adm_access, const char *diff3_cmd, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *pool)
| Similar to svn_wc_cleanup2().
svn_error_t * | svn_wc_upgrade (svn_wc_context_t *wc_ctx, const char *local_abspath, svn_wc_upgrade_get_repos_info_t repos_info_func, void *repos_info_baton, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_notify_func2_t notify_func, void *notify_baton, apr_pool_t *scratch_pool)
| Upgrade the working copy at local_abspath to the latest metadata storage format.
svn_error_t * | svn_wc_relocate4 (svn_wc_context_t *wc_ctx, const char *wcroot_abspath, const char *from, const char *to, svn_wc_relocation_validator3_t validator, void *validator_baton, apr_pool_t *scratch_pool)
| Recursively change repository references at wcroot_abspath (which is the root directory of a working copy).
svn_error_t * | svn_wc_relocate3 (const char *path, svn_wc_adm_access_t *adm_access, const char *from, const char *to, svn_boolean_t recurse, svn_wc_relocation_validator3_t validator, void *validator_baton, apr_pool_t *pool)
| Similar to svn_wc_relocate4(), but with a svn_wc_adm_access_t / relative path parameter pair.
svn_error_t * | svn_wc_relocate2 (const char *path, svn_wc_adm_access_t *adm_access, const char *from, const char *to, svn_boolean_t recurse, svn_wc_relocation_validator2_t validator, void *validator_baton, apr_pool_t *pool)
| Similar to svn_wc_relocate3(), but uses svn_wc_relocation_validator2_t.
svn_error_t * | svn_wc_relocate (const char *path, svn_wc_adm_access_t *adm_access, const char *from, const char *to, svn_boolean_t recurse, svn_wc_relocation_validator_t validator, void *validator_baton, apr_pool_t *pool)
| Similar to svn_wc_relocate2(), but uses svn_wc_relocation_validator_t.
svn_error_t * | svn_wc_revert4 (svn_wc_context_t *wc_ctx, const char *local_abspath, svn_depth_t depth, svn_boolean_t use_commit_times, const apr_array_header_t *changelist_filter, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_notify_func2_t notify_func, void *notify_baton, apr_pool_t *scratch_pool)
| Revert changes to local_abspath.
svn_error_t * | svn_wc_revert3 (const char *path, svn_wc_adm_access_t *parent_access, svn_depth_t depth, svn_boolean_t use_commit_times, const apr_array_header_t *changelist_filter, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_notify_func2_t notify_func, void *notify_baton, apr_pool_t *pool)
| Similar to svn_wc_revert4() but takes a relative path and access baton.
svn_error_t * | svn_wc_revert2 (const char *path, svn_wc_adm_access_t *parent_access, svn_boolean_t recursive, svn_boolean_t use_commit_times, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_notify_func2_t notify_func, void *notify_baton, apr_pool_t *pool)
| Similar to svn_wc_revert3(), but with changelist_filter passed as `NULL`, and depth set according to recursive: if recursive is TRUE, depth is svn_depth_infinity; if FALSE, depth is svn_depth_empty.
svn_error_t * | svn_wc_revert (const char *path, svn_wc_adm_access_t *parent_access, svn_boolean_t recursive, svn_boolean_t use_commit_times, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_notify_func_t notify_func, void *notify_baton, apr_pool_t *pool)
| Similar to svn_wc_revert2(), but takes an svn_wc_notify_func_t instead.
svn_error_t * | svn_wc_restore (svn_wc_context_t *wc_ctx, const char *local_abspath, svn_boolean_t use_commit_times, apr_pool_t *scratch_pool)
| Restores a missing node, local_abspath using the wc_ctx.
svn_error_t * | svn_wc_create_tmp_file2 (apr_file_t **fp, const char **new_name, const char *path, svn_io_file_del_t delete_when, apr_pool_t *pool)
| Create a unique temporary file in administrative tmp/ area of directory path.
svn_error_t * | svn_wc_create_tmp_file (apr_file_t **fp, const char *path, svn_boolean_t delete_on_close, apr_pool_t *pool)
| Same as svn_wc_create_tmp_file2(), but with new_name set to `NULL`, and without the ability to delete the file on pool cleanup.
svn_error_t * | svn_wc_translated_file2 (const char **xlated_path, const char *src, const char *versioned_file, svn_wc_adm_access_t *adm_access, apr_uint32_t flags, apr_pool_t *pool)
| Set xlated_path to a translated copy of src or to src itself if no translation is necessary.
svn_error_t * | svn_wc_translated_file (const char **xlated_p, const char *vfile, svn_wc_adm_access_t *adm_access, svn_boolean_t force_repair, apr_pool_t *pool)
| Same as svn_wc_translated_file2, but will never clean up temporary files.
svn_error_t * | svn_wc_translated_stream (svn_stream_t **stream, const char *path, const char *versioned_file, svn_wc_adm_access_t *adm_access, apr_uint32_t flags, apr_pool_t *pool)
| Returns a stream allocated in pool with access to the given path taking the file properties from versioned_file using adm_access.
svn_error_t * | svn_wc_transmit_text_deltas3 (const svn_checksum_t **new_text_base_md5_checksum, const svn_checksum_t **new_text_base_sha1_checksum, svn_wc_context_t *wc_ctx, const char *local_abspath, svn_boolean_t fulltext, const svn_delta_editor_t *editor, void *file_baton, apr_pool_t *result_pool, apr_pool_t *scratch_pool)
| Send the local modifications for versioned file local_abspath (with matching file_baton) through editor, then close file_baton afterwards.
svn_error_t * | svn_wc_transmit_text_deltas2 (const char **tempfile, unsigned char digest[], const char *path, svn_wc_adm_access_t *adm_access, svn_boolean_t fulltext, const svn_delta_editor_t *editor, void *file_baton, apr_pool_t *pool)
| Similar to svn_wc_transmit_text_deltas3(), but with a relative path and adm_access baton, and the checksum output is an MD5 digest instead of two svn_checksum_t objects.
svn_error_t * | svn_wc_transmit_text_deltas (const char *path, svn_wc_adm_access_t *adm_access, svn_boolean_t fulltext, const svn_delta_editor_t *editor, void *file_baton, const char **tempfile, apr_pool_t *pool)
| Similar to svn_wc_transmit_text_deltas2(), but with digest set to NULL.
svn_error_t * | svn_wc_transmit_prop_deltas2 (svn_wc_context_t *wc_ctx, const char *local_abspath, const svn_delta_editor_t *editor, void *baton, apr_pool_t *scratch_pool)
| Given a local_abspath, transmit all local property modifications using the appropriate editor method (in conjunction with baton).
svn_error_t * | svn_wc_transmit_prop_deltas (const char *path, svn_wc_adm_access_t *adm_access, const svn_wc_entry_t *entry, const svn_delta_editor_t *editor, void *baton, const char **tempfile, apr_pool_t *pool)
| Similar to svn_wc_transmit_prop_deltas2(), but with a relative path, adm_access baton and tempfile.
svn_error_t * | svn_wc_get_default_ignores (apr_array_header_t **patterns, apr_hash_t *config, apr_pool_t *pool)
| Get the run-time configured list of ignore patterns from the svn_config_t's in the config hash, and store them in *patterns.
svn_error_t * | svn_wc_get_ignores2 (apr_array_header_t **patterns, svn_wc_context_t *wc_ctx, const char *local_abspath, apr_hash_t *config, apr_pool_t *result_pool, apr_pool_t *scratch_pool)
| Get the list of ignore patterns from the svn_config_t's in the config hash and the local ignore patterns from the directory at local_abspath, using wc_ctx, and store them in *patterns.
svn_error_t * | svn_wc_get_ignores (apr_array_header_t **patterns, apr_hash_t *config, svn_wc_adm_access_t *adm_access, apr_pool_t *pool)
| Similar to svn_wc_get_ignores2(), but with a svn_wc_adm_access_t parameter in place of svn_wc_context_t and `local_abspath` parameters.
svn_boolean_t | svn_wc_match_ignore_list (const char *str, const apr_array_header_t *list, apr_pool_t *pool)
| Return TRUE iff str matches any of the elements of list, a list of zero or more ignore patterns.
svn_error_t * | svn_wc_add_lock2 (svn_wc_context_t *wc_ctx, const char *abspath, const svn_lock_t *lock, apr_pool_t *scratch_pool)
| Add lock to the working copy for local_abspath.
svn_error_t * | svn_wc_add_lock (const char *path, const svn_lock_t *lock, svn_wc_adm_access_t *adm_access, apr_pool_t *pool)
| Similar to svn_wc_add_lock2(), but with a svn_wc_adm_access_t / relative path parameter pair.
svn_error_t * | svn_wc_remove_lock2 (svn_wc_context_t *wc_ctx, const char *local_abspath, apr_pool_t *scratch_pool)
| Remove any lock from local_abspath.
svn_error_t * | svn_wc_remove_lock (const char *path, svn_wc_adm_access_t *adm_access, apr_pool_t *pool)
| Similar to svn_wc_remove_lock2(), but with a svn_wc_adm_access_t / relative path parameter pair.
svn_error_t * | svn_wc_revision_status2 (svn_wc_revision_status_t **result_p, svn_wc_context_t *wc_ctx, const char *local_abspath, const char *trail_url, svn_boolean_t committed, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *result_pool, apr_pool_t *scratch_pool)
| Set *result_p to point to a new svn_wc_revision_status_t structure containing a summary of the revision range and status of the working copy at local_abspath (not including "externals").
svn_error_t * | svn_wc_revision_status (svn_wc_revision_status_t **result_p, const char *wc_path, const char *trail_url, svn_boolean_t committed, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *pool)
| Similar to svn_wc_revision_status2(), but with a (possibly) local path and no wc_ctx parameter.
svn_error_t * | svn_wc_set_changelist2 (svn_wc_context_t *wc_ctx, const char *local_abspath, const char *changelist, svn_depth_t depth, const apr_array_header_t *changelist_filter, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_notify_func2_t notify_func, void *notify_baton, apr_pool_t *scratch_pool)
| Set local_abspath's 'changelist' attribute to changelist iff changelist is not `NULL`; otherwise, remove any current changelist assignment from local_abspath.
svn_error_t * | svn_wc_set_changelist (const char *path, const char *changelist, svn_wc_adm_access_t *adm_access, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_notify_func2_t notify_func, void *notify_baton, apr_pool_t *pool)
| Similar to svn_wc_set_changelist2(), but with an access baton and relative path.
svn_error_t * | svn_wc_get_changelists (svn_wc_context_t *wc_ctx, const char *local_abspath, svn_depth_t depth, const apr_array_header_t *changelist_filter, svn_changelist_receiver_t callback_func, void *callback_baton, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *scratch_pool)
svn_error_t * | svn_wc_crop_tree2 (svn_wc_context_t *wc_ctx, const char *local_abspath, svn_depth_t depth, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_notify_func2_t notify_func, void *notify_baton, apr_pool_t *scratch_pool)
| Crop local_abspath according to depth.
svn_error_t * | svn_wc_crop_tree (svn_wc_adm_access_t *anchor, const char *target, svn_depth_t depth, svn_wc_notify_func2_t notify_func, void *notify_baton, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *pool)
| Similar to svn_wc_crop_tree2(), but uses an access baton and target.
svn_error_t * | svn_wc_exclude (svn_wc_context_t *wc_ctx, const char *local_abspath, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_notify_func2_t notify_func, void *notify_baton, apr_pool_t *scratch_pool)
| Remove the local node for local_abspath from the working copy and add an excluded node placeholder in its place.
svn_error_t * | svn_wc_read_kind (svn_node_kind_t *kind, svn_wc_context_t *wc_ctx, const char *abspath, svn_boolean_t show_hidden, apr_pool_t *scratch_pool)
| Set kind to the svn_node_kind_t of abspath.

## Detailed Description

Subversion's working copy library.

Requires:

- A working copy

Provides:

- Ability to manipulate working copy's versioned data.
- Ability to manipulate working copy's administrative files.

Used By:

- Clients.

Notes: The 'path' parameters to most of the older functions can be absolute or relative (relative to current working directory). If there are any cases where they are relative to the path associated with the 'svn_wc_adm_access_t *adm_access' baton passed along with the path, those cases should be explicitly documented, and if they are not, please fix it. All new functions introduced since Subversion 1.7 require absolute paths, unless explicitly documented otherwise.

Starting with Subversion 1.7, several arguments are re-ordered to be more consistent through the api. The common ordering used is:

Firsts:

- Output arguments Then:
- Working copy context
- Local abspath Followed by:
- Function specific arguments
- Specific callbacks with their batons Finally:
- Generic callbacks (with baton) from directly functional to just observing:
  - svn_wc_conflict_resolver_func2_t
  - svn_wc_external_update_t
  - svn_cancel_func_t
  - svn_wc_notify_func2_t
- Result pool
- Scratch pool.

Definition in file svn_wc.h.

## Function Documentation

svn_error_t* svn_wc_read_kind | ( | svn_node_kind_t * | kind,
|  | svn_wc_context_t * | wc_ctx,
|  | const char * | abspath,
|  | svn_boolean_t | show_hidden,
|  | apr_pool_t * | scratch_pool |
| ) |  |  |

Set kind to the svn_node_kind_t of abspath.

Use wc_ctx to access the working copy, and scratch_pool for all temporary allocations.

If abspath is not under version control, set kind to svn_node_none. If it is versioned but hidden and show_hidden is `FALSE`, also return svn_node_none.

### What does hidden really mean? ### What happens when show_hidden is TRUE?

If the node's info is incomplete, it may or may not have a known node kind set. If the kind is not known (yet), set kind to svn_node_unknown. Otherwise return the node kind even though the node is marked incomplete.

Since:
  New in 1.7.

const svn_version_t* svn_wc_version | ( | void |  | ) |

Get libsvn_wc version information.

Since:
  New in 1.1.

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines