#include <apr.h>
#include <apr_pools.h>
#include <apr_tables.h>
#include <apr_hash.h>
#include "svn_types.h"
#include "svn_string.h"
#include "svn_delta.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_description_t |
| A struct that describes a conflict that has occurred in the working copy. More... | |
| struct | svn_wc_conflict_result_t |
The final result returned by svn_wc_conflict_resolver_func_t. More... | |
| struct | svn_wc_diff_callbacks3_t |
| A callback vtable invoked by our diff-editors, as they receive diffs from the server. More... | |
| struct | svn_wc_diff_callbacks2_t |
Similar to svn_wc_diff_callbacks3_t, but without dir_opened or dir_closed 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_entry_callbacks2_t |
| A callback vtable invoked by the generic entry-walker function. More... | |
| struct | svn_wc_entry_callbacks_t |
| struct | svn_wc_status2_t |
| Structure for holding the "status" of a working copy item. 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... | |
Typedefs | |
| typedef svn_wc_adm_access_t | svn_wc_adm_access_t |
| Baton for access to a working copy administrative area. | |
| typedef svn_wc_traversal_info_t | svn_wc_traversal_info_t |
| Traversal information is information gathered by a working copy crawl or update. | |
| typedef svn_wc_external_item2_t | svn_wc_external_item2_t |
| One external item. | |
| typedef 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 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 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 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_description_t (see below). | |
| typedef enum svn_wc_operation_t | svn_wc_operation_t |
| The user operation that exposed a conflict. | |
| typedef svn_wc_conflict_description_t | svn_wc_conflict_description_t |
| A struct that describes a conflict that has occurred in the working copy. | |
| 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 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_func_t )(svn_wc_conflict_result_t **result, const svn_wc_conflict_description_t *description, void *baton, apr_pool_t *pool) |
| A callback used in svn_client_merge3(), svn_client_update3(), and svn_client_switch2() for resolving conflicts during the application of a tree delta to a working copy. | |
| typedef svn_wc_diff_callbacks3_t | svn_wc_diff_callbacks3_t |
| A callback vtable invoked by our diff-editors, as they receive diffs from the server. | |
| typedef svn_wc_diff_callbacks2_t | svn_wc_diff_callbacks2_t |
Similar to svn_wc_diff_callbacks3_t, but without dir_opened or dir_closed functions. | |
| typedef 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 svn_wc_entry_t | svn_wc_entry_t |
| A working copy entry -- that is, revision control information about one versioned entity. | |
| typedef svn_wc_entry_callbacks2_t | svn_wc_entry_callbacks2_t |
| A callback vtable invoked by the generic entry-walker function. | |
| typedef svn_wc_entry_callbacks_t | svn_wc_entry_callbacks_t |
| typedef svn_wc_status2_t | svn_wc_status2_t |
| Structure for holding the "status" of a working copy item. | |
| typedef 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_func3_t )(void *baton, const char *path, svn_wc_status2_t *status, apr_pool_t *pool) |
| A callback for reporting a status about 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 svn_wc_committed_queue_t | svn_wc_committed_queue_t |
| Storage type for queued post-commit data. | |
| 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_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 without the root_url arguments. | |
| 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 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. | |
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_updated } |
| 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 } |
| 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 } |
| 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_added, svn_wc_conflict_reason_missing, svn_wc_conflict_reason_unversioned } |
| 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_description_t (see below). More... | |
| enum | svn_wc_operation_t { 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_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_DEPRECATED 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_DEPRECATED 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_DEPRECATED 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_DEPRECATED 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_DEPRECATED 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_DEPRECATED 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_close (svn_wc_adm_access_t *adm_access) |
| Give up the access baton adm_access, and its lock if any. | |
| const char * | svn_wc_adm_access_path (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 (svn_wc_adm_access_t *adm_access) |
| Return the pool used by access baton adm_access. | |
| svn_boolean_t | svn_wc_adm_locked (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_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_DEPRECATED 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_DEPRECATED 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_DEPRECATED 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_dup_notify (const svn_wc_notify_t *notify, apr_pool_t *pool) |
| Return a deep copy of notify, allocated in pool. | |
| 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) |
Allocate an svn_wc_conflict_description_t structure in pool, initialize to represent a text 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) |
Allocate an svn_wc_conflict_description_t structure in pool, initialize to represent a property 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, apr_pool_t *pool) |
Allocate an svn_wc_conflict_description_t structure in pool, initialize to represent a tree conflict, and return it. | |
| 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_wc (const char *path, int *wc_format, apr_pool_t *pool) |
| Set *wc_format to path's working copy format version number if path is a valid working copy directory, else set it to 0. | |
| 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_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) |
| Set *modified_p to non-zero if filename's text is 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) |
| 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_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_error_t * | svn_wc_conflicted_p2 (svn_boolean_t *text_conflicted_p, svn_boolean_t *prop_conflicted_p, svn_boolean_t *has_tree_conflicted_children, 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 state of conflict; return the answers in text_conflicted_p, prop_conflicted_p and has_tree_conflicted_children. | |
| SVN_DEPRECATED 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) |
| Like svn_wc_conflicted_p2, but without the capability to detect tree conflicts. | |
| 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_DEPRECATED 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_DEPRECATED 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_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) |
| Ensure that an administrative area exists for path, so that path is a working copy subdir based on url at revision, with depth depth, and with repository UUID uuid and repository root URL repos. | |
| SVN_DEPRECATED 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_DEPRECATED 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_status2_t * | svn_wc_dup_status2 (const svn_wc_status2_t *orig_stat, apr_pool_t *pool) |
| Return a deep copy of the orig_stat status structure, allocated in pool. | |
| SVN_DEPRECATED 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_status2 (svn_wc_status2_t **status, const char *path, svn_wc_adm_access_t *adm_access, apr_pool_t *pool) |
| Fill *status for path, allocating in pool. | |
| SVN_DEPRECATED 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_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) |
Set *editor and *edit_baton to an editor that generates svn_wc_status2_t structures and sends them through status_func / status_baton. | |
| SVN_DEPRECATED 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, 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_DEPRECATED 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_DEPRECATED 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_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) |
| Copy src to dst_basename in dst_parent, and schedule dst_basename for addition to the repository, remembering the copy history. | |
| SVN_DEPRECATED 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_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) |
| Schedule path for deletion, it will be deleted from the repository on the next commit. | |
| SVN_DEPRECATED 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_DEPRECATED 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_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) |
| Put path under version control by adding an entry in its parent, and, if path is a directory, adding an administrative area. | |
| SVN_DEPRECATED 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_DEPRECATED 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_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) |
| Add a file to a working copy at dst_path, obtaining the text-base's contents from new_base_contents, the wc file's content from new_contents, its base properties from new_base_props and wc properties from new_props. | |
| 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_DEPRECATED 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_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) |
| Remove entry name in adm_access from revision control. | |
| 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) |
| Assuming path is under version control and in a state of conflict, then take path *out* of this state. | |
| 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_DEPRECATED 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_DEPRECATED 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_committed (svn_wc_committed_queue_t **queue, const char *path, svn_wc_adm_access_t *adm_access, svn_boolean_t recurse, apr_array_header_t *wcprop_changes, svn_boolean_t remove_lock, svn_boolean_t remove_changelist, const unsigned char *digest, apr_pool_t *pool) |
| Queue committed items to be processed later by svn_wc_process_committed_queue(). | |
| 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) |
| Like svn_wc_process_committed4(), but batch processes items queued with svn_wc_queue_committed(). | |
| 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, apr_array_header_t *wcprop_changes, svn_boolean_t remove_lock, svn_boolean_t remove_changelist, const unsigned char *digest, apr_pool_t *pool) |
| Bump a successfully committed absolute path to new_revnum after a commit succeeds. | |
| SVN_DEPRECATED 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, apr_array_header_t *wcprop_changes, svn_boolean_t remove_lock, const unsigned char *digest, apr_pool_t *pool) |
| Similar to svn_wc_process_committed4(), but with remove_changelist set to FALSE. | |
| SVN_DEPRECATED 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, apr_array_header_t *wcprop_changes, svn_boolean_t remove_lock, apr_pool_t *pool) |
| Similar to svn_wc_process_committed3(), but with digest set to NULL. | |
| SVN_DEPRECATED 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, apr_array_header_t *wcprop_changes, apr_pool_t *pool) |
Similar to svn_wc_process_committed2(), but with remove_lock set to FALSE. | |
| 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) |
| Do a depth-first crawl in a working copy, beginning at path. | |
| SVN_DEPRECATED 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_DEPRECATED 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_reporter_t instead. | |
| 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) |
Set *wc_root to TRUE if path represents a "working copy root", FALSE otherwise. | |
| svn_error_t * | svn_wc_get_actual_target (const char *path, const char **anchor, const char **target, apr_pool_t *pool) |
| Conditionally split path into an anchor and target for the purpose of updating and committing. | |
| 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, 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) |
| Set *editor and *edit_baton to an editor and baton for updating a working copy. | |
| SVN_DEPRECATED 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_DEPRECATED 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_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, 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) |
| A variant of svn_wc_get_update_editor(). | |
| SVN_DEPRECATED 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_DEPRECATED 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_list (apr_hash_t **props, const char *path, svn_wc_adm_access_t *adm_access, apr_pool_t *pool) |
Set *props to a hash table mapping char * names onto svn_string_t * values for all the regular properties of path. | |
| 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) |
| Set *value to the value of property name for path, allocating *value in pool. | |
| 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) |
| Set property name to value for path, or if value is NULL, remove property name from path. | |
| SVN_DEPRECATED 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. | |