Modules | |
| group | Translation flags |
| Flags for use with svn_wc_translated_file2. | |
| group | Working copy context |
| group | Notification callback handling |
| group | Conflict callback functionality |
| Interactive conflict handling. | |
| group | Working size constants |
| 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. | |
| group | Working copy status. |
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_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_entry_callbacks2_t |
| A callback vtable invoked by the generic entry-walker function. More... | |
| struct | svn_wc_entry_callbacks_t |
| 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_ADM_DIR_NAME ".svn" |
| Administrative subdir. | |
| #define | SVN_WC_ENTRY_THIS_DIR "" |
| How an entries file's owner dir is named in the entries file. | |
Typedefs | |
| typedef 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 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 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_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 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 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 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_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_upgrade_get_repos_info_t )(const char **repos_root, const char **repos_uuid, void *baton, const char *url, apr_pool_t *scratch_pool, apr_pool_t *result_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 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_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_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 | |
| 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_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) |
| As a replacement for this functionality,. | |
| 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_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_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_ancestry2 (const char **url, svn_revnum_t *rev, svn_wc_context_t *wc_ctx, const char *local_abspath, apr_pool_t *result_pool, apr_pool_t *scratch_pool) |
| Set *url and *rev to the ancestor URL and revision for local_abspath, allocating in result_pool. | |
| 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) |
| 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_error_t * | svn_wc_copy3 (svn_wc_context_t *wc_ctx, const char *src_abspath, const char *dst_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) |
| 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) |
| 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_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, it will be deleted from the repository on the next commit. | |
| 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_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 adding an entry in its parent, and if local_abspath is a directory, adding an administrative area. | |
| 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, svn_wc_notify_func2_t notify_func, void *notify_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) |
| 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 victime 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, 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 *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 *checksum, apr_pool_t *scratch_pool) |
| 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, 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_wc_external_update_t external_func, void *external_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 path represents a "working copy root", FALSE otherwise. | |
| 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 *local_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, const char *diff3_cmd, const apr_array_header_t *preserved_exts, svn_wc_get_file_t fetch_func, void *fetch_baton, svn_wc_conflict_resolver_func_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, const char *diff3_cmd, const apr_array_header_t *preserved_exts, svn_wc_get_file_t fetch_func, void *fetch_baton, svn_wc_conflict_resolver_func_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_editor(). | |
| 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_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 path, allocating *value in 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_boolean_t skip_checks, 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. | |
| 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_path, const char *target, 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_text_base, svn_boolean_t reverse_order, const apr_array_header_t *changelists, 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 *changelists, const svn_delta_editor_t **editor, void **edit_baton, apr_pool_t *pool) |
Similar to svn_wc_get_diff_editor6(), but with an svn_wc_diff_callbacks3_t instead of svn_wc_diff_callbacks4_t, and show_copies_as_adds set to FALSE. | |
| 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 *changelists, 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 changelists 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_path, 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, const apr_array_header_t *changelists, 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 *changelists, 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, and show_copies_as_adds 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 *changelists, 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 changelists 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_func_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 base_merge, svn_boolean_t dry_run, svn_wc_conflict_resolver_func_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) |
| Returns a path to the pristine copy of 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 *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 *local_abspath, const char *from, const char *to, svn_boolean_t recurse, svn_wc_relocation_validator3_t validator, void *validator_baton, apr_pool_t *scratch_pool) |
| Change repository references at local_abspath and all it's children. | |
| 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 *changelists, 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 *changelists, 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 changelists 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_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_file3 (const char **xlated_abspath, const char *src, svn_wc_context_t *wc_ctx, const char *versioned_abspath, apr_uint32_t flags, apr_pool_t *result_pool, apr_pool_t *scratch_pool) |
| Set xlated_abspath to a translated copy of src or to src itself if no translation is necessary. | |
| 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) |
| Similar to svn_wc_translated_file3(), but with an adm_access baton and relative paths instead of a wc_context and absolute paths, and with a single pool. | |
| 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_stream2 (svn_stream_t **stream, svn_wc_context_t *wc_ctx, const char *local_abspath, const char *versioned_abspath, apr_uint32_t flags, apr_pool_t *result_pool, apr_pool_t *scratch_pool) |
| Returns a stream allocated in result_pool with access to the given local_abspath taking the file properties from versioned_abspath using wc_ctx. | |
| 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) |
| Similar to svn_wc_translated_stream2(), but with an adm_access baton and relative paths instead of a wc_context and absolute paths. | |
| svn_error_t * | svn_wc_transmit_text_deltas3 (const char **tempfile, unsigned char digest[], 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. | |
| 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_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_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. | |
|
|
Administrative subdir. Ideally, this would be completely private to wc internals (in fact, it used to be that adm_subdir() in adm_files.c was the only function who knew the adm subdir's name). However, import wants to protect against importing administrative subdirs, so now the name is a matter of public record.
|
|
|
Baton for access to a working copy administrative area. One day all such access will require a baton, we're not there yet. Access batons can be grouped into sets, by passing an existing open baton when opening a new baton. Given one baton in a set, other batons may be retrieved. This allows an entire hierarchy to be locked, and then the set of batons can be passed around by passing a single baton. |
|
|
Callback type used by svn_wc_canonicalize_svn_prop. If mime_type is non-null, it sets *mime_type to the value of SVN_PROP_MIME_TYPE for the path passed to svn_wc_canonicalize_svn_prop (allocated from pool). If stream is non-null, it writes the contents of the file to stream. (Currently, this is used if you are attempting to set the SVN_PROP_EOL_STYLE property, to make sure that the value matches the mime type and contents.) |
|
|
Storage type for queued post-commit data.
|
|
|
Similar to svn_wc_diff_callbacks3_t, but without the
|
|
|
Similar to svn_wc_diff_callbacks4_t, but without copyfrom_path and copyfrom_revision arguments to
|
|
|
A callback vtable invoked by our diff-editors, as they receive diffs from the server. 'svn diff', 'svn merge' and 'svn patch' all implement their own versions of this vtable. Common parameters:
local_dir_abspath will be the absolute path to the local directory containing path, or If state is non-NULL, set *state to the state of the item after the operation has been performed. (In practice, this is only useful with merge, not diff; diff callbacks will probably set *state to svn_wc_notify_state_unknown, since they do not change the state and therefore do not bother to know the state after the operation.) By default, state refers to the item's content state. Functions concerned with property state have separate contentstate and propstate arguments. If tree_conflicted is non-NULL, set *tree_conflicted to true if this operation caused a tree conflict, else to false. (Like with state, this is only useful with merge, not diff; diff callbacks should set this to false.)
|
|
|
Similar to svn_wc_diff_callbacks2_t, but with file additions/content changes and property changes split into different functions.
|
|
|
A callback vtable invoked by the generic entry-walker function.
|
|
|
|
|
|
One external item. This usually represents one line from an svn:externals description but with the path and URL canonicalized. In order to avoid backwards compatibility problems clients should use svn_wc_external_item_create() to allocate and initialize this structure instead of doing so themselves.
|
|
|
One external item. Similar to svn_wc_external_item2_t, except revision is interpreted as both the operational revision and the peg revision.
|
|
|
Callback for external definitions updates.
|
|
|
A simple callback type to wrap svn_ra_get_file(); see that docstring for more information. This technique allows libsvn_client to 'wrap' svn_ra_get_file() and pass it down into libsvn_wc functions, thus allowing the WC layer to legally call the RA function via (blind) callback.
|
|
|
Similar to svn_wc_relocation_validator3_t, but without the root_url arguments.
|
|
|
Relocation validation callback typedef. Called for each relocated file/directory. uuid, if non-NULL, contains the expected repository UUID, url contains the tentative URL. baton is a closure object; it should be provided by the implementation, and passed by the caller. If root is TRUE, then the implementation should make sure that url is the repository root. Else, it can be an URL inside the repository. pool may be used for temporary allocations.
|
|
|
Similar to svn_wc_relocation_validator2_t, but without the root and pool arguments. uuid will not be NULL in this version of the function.
|
|
|
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.
|
|
|
Traversal information is information gathered by a working copy crawl or update. For example, the before and after values of the svn:externals property are important after an update, and since we're traversing the working tree anyway (a complete traversal during the initial crawl, and a traversal of changed paths during the checkout/update/switch), it makes sense to gather the property's values then instead of making a second pass. New code should use the svn_wc_external_update_t callback instead.
|
|
|
Callback for retrieving a repository root for a url from upgrade. Called by svn_wc_upgrade() when no repository root and/or repository uuid are recorded in the working copy. For normal Subversion 1.5 and later working copies, this callback will not be used.
|
|
|
The outcome of a merge carried out (or tried as a dry-run) by svn_wc_merge().
|
|
|
The schedule states an entry can be in.
|
|
||||||||||||||||||||||||||||||||||||||||
|
Similar to svn_wc_add2(), but takes an svn_wc_notify_func_t instead.
|
|
||||||||||||||||||||||||||||||||||||||||
|
Similar to svn_wc_add3(), but with the depth parameter always svn_depth_infinity.
|
|
||||||||||||||||||||||||||||||||||||||||||||
|
Similar to svn_wc_add4(), but with an access baton and relative path instead of a context and absolute path.
|
|
||||||||||||||||||||||||||||||||||||||||||||
|
Put local_abspath under version control by adding an entry in its parent, and if local_abspath is a directory, adding an administrative area. The new node and anything under it is scheduled for addition to the repository. wc_ctx should hold a write lock for the parent directory of local_abspath. If local_abspath is a directory then an access baton for local_abspath will be added to the set containing parent_access. If local_abspath does not exist, return SVN_ERR_WC_PATH_NOT_FOUND. If local_abspath is a directory, add it at depth; otherwise, ignore depth. If copyfrom_url is non-NULL, it and copyfrom_rev are used as `copyfrom' args. This is for copy operations, where one wants to schedule local_abspath for addition with a particular history. If cancel_func is non-NULL, call it with cancel_baton at various points during the operation. If it returns an error (typically SVN_ERR_CANCELLED), return that error immediately.
When the local_abspath has been added, then notify_func will be called (if it is not Return SVN_ERR_WC_NODE_KIND_CHANGE if local_abspath is both an unversioned directory and a file that is scheduled for deletion or in state deleted.
### This function currently does double duty -- it is also ### responsible for "switching" a working copy directory over to a ### new copyfrom ancestry and scheduling it for addition. Here is ### the old doc string from Ben, lightly edited to bring it ### up-to-date, explaining the TRUE, secret life of this function: Given a path within a working copy of type KIND, follow this algorithm:
### I think possibly the "switchover" functionality should be ### broken out into a separate function, but it's all intertwined in ### the code right now. Ben, thoughts? Hard? Easy? Mauve? ### Update: see "###" comment in svn_wc_add_repos_file3()'s doc string about this.
|
|
||||||||||||||||||||
|
Similar to svn_wc_add_lock2(), but with a svn_wc_adm_access_t / relative path parameter pair.
|
|
||||||||||||||||||||
|
Add lock to the working copy for local_abspath. If local_abspath is read-only, due to locking properties, make it writable. Perform temporary allocations in scratch_pool.
|
|
||||||||||||||||||||||||||||||||
|
Same as svn_wc_add_repos_file3(), except that it doesn't have the BASE arguments or cancellation.
|
|
||||||||||||||||||||||||||||||||||||||||
|
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.
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
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. Use wc_ctx for accessing the working copy. The unmodified text and props normally come from the repository file represented by the copyfrom args, see below. The new file will be marked as copy. new_contents and new_props may be NULL, in which case the working copy text and props are taken from the base files with appropriate translation of the file's content. new_contents must be provided in Normal Form. This is required in order to pass both special and non-special files through a stream. wc_ctx must contain a write lock for the parent of dst_path. If copyfrom_url is non-NULL, then copyfrom_rev must be a valid revision number, and together they are the copyfrom history for the new file. The cancel_func and cancel_baton are a standard cancellation callback, or NULL if no callback is needed. notify_func and notify_baton are a notification callback, and (if not NULL) will be notified of the addition of this file. Use scratch_pool for temporary allocations. ### NOTE: the notification callback/baton is not yet used. ### This function is very redundant with svn_wc_add(). Ideally, we'd merge them, so that svn_wc_add() would just take optional new_props and optional copyfrom information. That way it could be used for both 'svn add somefilesittingonmydisk' and for adding files from repositories, with or without copyfrom history. The problem with this Ideal Plan is that svn_wc_add() also takes care of recursive URL-rewriting. There's a whole comment in its doc string about how that's really weird, outside its core mission, etc, etc. So another part of the Ideal Plan is that that functionality of svn_wc_add() would move into a separate function.
|
|
|
Similar to svn_wc_adm_close2(), but with the internal pool of adm_access used for temporary allocations.
|
|
||||||||||||
|
Give up the access baton adm_access, and its lock if any. This will recursively close any batons in the same set that are direct subdirectories of adm_access. Any physical locks will be removed from the working copy. Lock removal is unconditional, there is no check to determine if cleanup is required. Any temporary allocations are performed using scratch_pool.
|
|
|
Return Compared to svn_wc_locked() this is a cheap, fast function that doesn't access the filesystem. New code should use svn_wc_locked2() instead. |
|
||||||||||||||||||||||||||||
|
Similar to svn_wc_adm_open2(), but with tree_lock instead of levels_to_lock.
levels_to_lock is set to -1 if tree_lock is
|
|
||||||||||||||||||||||||||||
|
Similar to svn_wc_adm_open3(), but without cancellation support.
|
|
||||||||||||||||||||||||||||||||||||
|
Return, in *adm_access, a pointer to a new access baton for the working copy administrative area associated with the directory path. If write_lock is TRUE the baton will include a write lock, otherwise the baton can only be used for read access. If path refers to a directory that is already write locked then the error SVN_ERR_WC_LOCKED will be returned. The error #SVN_ERR_WC_NOT_DIRECTORY will be returned if path is not a versioned directory.
If associated is an open access baton then adm_access will be added to the set containing associated. associated can be levels_to_lock specifies how far to lock. Zero means just the specified directory. Any negative value means to lock the entire working copy directory hierarchy under path. A positive value indicates the number of levels of directories to lock -- 1 means just immediate subdirectories, 2 means immediate subdirectories and their subdirectories, etc. All the access batons will become part of the set containing adm_access. This is an all-or-nothing option, if it is not possible to lock all the requested directories then an error will be returned and adm_access will be invalid, with the exception that subdirectories of path that are missing from the physical filesystem will not be locked and will not cause an error. The error SVN_ERR_WC_LOCKED will be returned if a subdirectory of path is already write locked. If cancel_func is non-NULL, call it with cancel_baton to determine if the client has cancelled the operation. pool will be used to allocate memory for the baton and any subsequently cached items. If adm_access has not been closed when the pool is cleared, it will be closed automatically at that point, and removed from its set. A baton closed in this way will not remove physical locks from the working copy if cleanup is required.
The first baton in a set, with associated passed as
|
|
||||||||||||||||||||||||||||||||||||||||
|
Open access batons for path and return in *anchor_access and *target the anchor and target required to drive an editor. Return in *target_access the access baton for the target, which may be the same as *anchor_access (in which case *target is the empty string, never NULL). All the access batons will be in the *anchor_access set.
levels_to_lock determines the levels_to_lock used when opening path if path is a versioned directory, levels_to_lock is ignored otherwise. If write_lock is If cancel_func is non-NULL, call it with cancel_baton to determine if the client has cancelled the operation. This function is essentially a combination of svn_wc_adm_open3() and svn_wc_get_actual_target(), with the emphasis on reducing physical IO.
|
|
||||||||||||||||||||||||||||
|
Similar to svn_wc_adm_probe_open2(), but with tree_lock instead of levels_to_lock.
levels_to_lock is set to -1 if tree_lock is
|
|
||||||||||||||||||||||||||||
|
Similar to svn_wc_adm_probe_open3() without the cancel functionality.
|
|
||||||||||||||||||||||||||||||||||||
|
Checks the working copy to determine the node type of path. If path is a versioned directory then the behaviour is like that of svn_wc_adm_open3(), otherwise, if path is a file or does not exist, then the behaviour is like that of svn_wc_adm_open3() with path replaced by the parent directory of path. If path is an unversioned directory, the behaviour is also like that of svn_wc_adm_open3() on the parent, except that if the open fails, then the returned #SVN_ERR_WC_NOT_DIRECTORY error refers to path, not to path's parent.
|
|
||||||||||||||||||||
|
Check the working copy to determine the node type of path. If path is a versioned directory then the behaviour is like that of svn_wc_adm_retrieve(), otherwise, if path is a file, an unversioned directory, or does not exist, then the behaviour is like that of svn_wc_adm_retrieve() with path replaced by the parent directory of path. |
|
||||||||||||||||||||||||||||
|
Similar to svn_wc_adm_probe_try2(), but with tree_lock instead of levels_to_lock.
levels_to_lock is set to -1 if tree_lock is
|
|
||||||||||||||||||||||||||||
|
Similar to svn_wc_adm_probe_try3() without the cancel functionality.
|
|
||||||||||||||||||||||||||||||||||||
|
Try various ways to obtain an access baton for path. First, try to obtain *adm_access via svn_wc_adm_probe_retrieve(), but if this fails because associated can't give a baton for path or path's parent, then try svn_wc_adm_probe_open3(), this time passing write_lock and levels_to_lock. If there is still no access because path is not a versioned directory, then just set *adm_access to NULL and return success. But if it is because path is locked, then return the error SVN_ERR_WC_LOCKED, and the effect on *adm_access is undefined. (Or if the attempt fails for any other reason, return the corresponding error, and the effect on *adm_access is also undefined.) If svn_wc_adm_probe_open3() succeeds, then add *adm_access to associated. If cancel_func is non-NULL, call it with cancel_baton to determine if the client has cancelled the operation. Use pool only for local processing, not to allocate *adm_access.
|
|
||||||||||||||||||||
|
Return, in *adm_access, a pointer to an existing access baton associated with path. path must be a directory that is locked as part of the set containing the associated access baton. If the requested access baton is marked as missing in, or is simply absent from, associated, return SVN_ERR_WC_NOT_LOCKED. pool is used only for local processing, it is not used for the batons. |
|
||||||||||||||||||||||||||||||||||||||||
|
Canonicalize the value of an svn:* property propname with value propval. If the property is not appropriate for a node of kind kind, or is otherwise invalid, throw an error. Otherwise, set *propval_p to a canonicalized version of the property value. If skip_some_checks is TRUE, only some validity checks are taken. Some validity checks require access to the contents and MIME type of the target if it is a file; they will call prop_getter with getter_baton, which then needs to set the MIME type and print the contents of the file to the given stream. path should be the path of the file in question; it is only used for error messages. ### This is not actually related to the WC, but it does need to call ### svn_wc_parse_externals_description2. |
|
||||||||||||||||
|
Similar to svn_wc_check_wc2(), but with a relative path and no supplied working copy context.
|
|
||||||||||||||||||||
|
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.
Return error
|
|
||||||||||||||||||||||||||||
|
Similar to svn_wc_cleanup2(). optional_adm_access is an historic relic and not used, it may be NULL.
|
|
||||||||||||||||||||||||
|
Similar to svn_wc_cleanup3() but uses relative paths and creates its own swn_wc_context_t.
|
|
||||||||||||||||||||||||
|
Recurse from local_abspath, cleaning up unfinished log business. Perform any temporary allocations in scratch_pool. Any working copy locks under local_abspath will be taken over and then cleared by this function. WARNING: there is no mechanism that will protect locks that are still being used. If cancel_func is non-NULL, invoke it with cancel_baton at various points during the operation. If it returns an error (typically SVN_ERR_CANCELLED), return that error immediately.
|
|
|
Create a queue for use with svn_wc_queue_committed() and svn_wc_process_committed_queue(). The returned queue and all further allocations required for queueing new items will also be done from 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. These pointers must not be null. If the entry mentions that text conflict files (with suffix .mine, .theirs, etc.) exist, but they cannot be found, assume the text conflict has been resolved by the user and return FALSE in *text_conflicted_p. Similarly, if the entry mentions that a property conflicts file (.prej suffix) exists, but it cannot be found, assume the property conflicts have been resolved by the user and return FALSE in *prop_conflicted_p. The entry is not updated.
|
|
||||||||||||||||||||||||||||
|
Similar to svn_wc_conflicted_p3(), but with a path/adm_access parameter pair in place of a wc_ctx/local_abspath pair.
|
|
||||||||||||||||||||||||||||
|
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.
If one or two of the answers are uninteresting, simply pass If path is unversioned or does not exist, return SVN_ERR_WC_PATH_NOT_FOUND. adm_access is the admin access baton of the parent directory.
If the path has corresponding text conflict files (with suffix .mine, .theirs, etc.) that cannot be found, assume that the text conflict has been resolved by the user and return
Similarly, if a property conflicts file (.prej suffix) is said to exist, but it cannot be found, assume that the property conflicts have been resolved by the user and return *tree_conflicted_p can't be auto-resolved in this fashion. An explicit `resolved' is needed.
|
|
||||||||||||||||||||||||||||||||||||
|
Similar to svn_wc_copy2(), but takes an svn_wc_notify_func_t instead.
|
|
||||||||||||||||||||||||||||||||||||
|
Copy src_abspath to dst_abspath, and schedule dst_abspath for addition to the repository, remembering the copy history. wc_ctx is used for accessing the working copy and must contain a write lock for the parent directory of dst_abspath, src_abspath must be a file or directory under version control; the parent of dst_abspath must be a directory under version control in the same working copy; dst_abspath will be the name of the copied item, and it must not exist already. Note that when src points to a versioned file, the working file doesn't necessarily exist in which case its text-base is used instead. If cancel_func is non-NULL, call it with cancel_baton at various points during the operation. If it returns an error (typically SVN_ERR_CANCELLED), return that error immediately.
For each file or directory copied, notify_func will be called with its path and the notify_baton. notify_func may be Use scratch_pool for temporary allocations.
|
|
||||||||||||||||||||||||||||||||||||||||||||||||
|
Similar to svn_wc_crawl_revisions2(), but takes an svn_wc_notify_func_t and a svn_ra_reporter_t instead.
|
|
||||||||||||||||||||||||||||||||||||||||||||||||
|
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.
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Similar to svn_wc_crawl_revisions4, but with honor_depth_exclude always set to false.
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Similar to svn_wc_crawl_revisions5, but with a relative path and access baton instead of an absolute path and wc_ctx.
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Do a depth-first crawl in a working copy, beginning at local_abspath, using wc_ctx for accessing the working copy. Communicate the `state' of the working copy's revisions and depths to reporter/report_baton. Obviously, if local_abspath is a file instead of a directory, this depth-first crawl will be a short one. No locks or logs are created, nor are any animals harmed in the process unless restore_files is TRUE. No cleanup is necessary. The working copy is accessed using wc_ctx. After all revisions are reported, reporter->finish_report() is called, which immediately causes the RA layer to update the working copy. Thus the return value may very well reflect the result of the update! If depth is svn_depth_empty, then report state only for path itself. If svn_depth_files, do the same and include immediate file children of path. If svn_depth_immediates, then behave as if for svn_depth_files but also report the property states of immediate subdirectories. If depth is svn_depth_infinity, then report state fully recursively. All descents are only as deep as path's own depth permits, of course. If depth is svn_depth_unknown, then just use svn_depth_infinity, which in practice means depth of path. Iff honor_depth_exclude is TRUE, the crawler will report paths whose ambient depth is svn_depth_exclude as being excluded, and thus prevent the server from pushing update data for those paths; therefore, don't set this flag if you wish to pull in excluded paths. Note that svn_depth_exclude on the target path is never honored, even if honor_depth_exclude is TRUE, because we need to be able to explicitly pull in a target. For example, if this is the working copy... svn co greek_tree_repos wc_dir svn up --set-depth exclude wc_dir/A/B/E # now A/B/E is excluded ...then 'svn up wc_dir/A/B' would report E as excluded (assuming honor_depth_exclude is TRUE), but 'svn up wc_dir/A/B/E' would not, because the latter is trying to explicitly pull in E. In general, we never report the update target as excluded.
Iff depth_compatibility_trick is TRUE, then set the
If restore_files is TRUE, then unexpectedly missing working files will be restored from the administrative directory's cache. For each file restored, the notify_func function will be called with the notify_baton and the path of the restored file. notify_func may be If traversal_info is non-NULL, then record pre-update traversal state in it. (Caller should obtain traversal_info from svn_wc_init_traversal_info().)
|
|
||||||||||||||||||||
|
Same as svn_wc_create_tmp_file2(), but with new_name set to
|
|
||||||||||||||||||||||||
|
Create a unique temporary file in administrative tmp/ area of directory path. Return a handle in *fp and the path in *new_name. Either fp or new_name can be NULL.
The flags will be This means that as soon as fp is closed, the tmp file will vanish.
|
|
||||||||||||||||||||||||||||||||||||
|
Similar to svn_wc_crop_tree2(), but uses an access baton and target. svn_wc_crop_tree() also allows svn_depth_exclude, which is now handled via svn_wc_exclude() target is a basename in anchor or "" for anchor itself.
|
|
||||||||||||||||||||||||||||||||||||
|
Crop local_abspath according to depth. Remove any item that exceeds the boundary of depth (relative to local_abspath) from revision control. Leave modified items behind (unversioned), while removing unmodified ones completely. depth can be svn_depth_empty, svn_depth_files or svn_depth_immediates. Excluding nodes is handled by svn_wc_exclude(). If local_abspath starts out with a shallower depth than depth, do not upgrade it to depth (that would not be cropping); however, do check children and crop them appropriately according to depth. Returns immediately with an SVN_ERR_UNSUPPORTED_FEATURE error if target is not a directory, or if depth is not restrictive (e.g., svn_depth_infinity). wc_ctx contains a tree lock, for the local path to the working copy which will be used as the root of this operation. If
If cancel_func is not
If notify_func is not
|
|
||||||||||||||||||||||||||||||||
|
Similar to svn_wc_delete2(), but takes an svn_wc_notify_func_t instead.
|
|
||||||||||||||||||||||||||||||||
|
Similar to svn_wc_delete3(), but with keep_local always set to FALSE.
|
|
||||||||||||||||||||||||||||||||||||
|
Similar to svn_wc_delete4, but uses an access baton and relative path instead of a working copy context and absolute path. adm_access must hold a write lock for the parent of local_abspath.
|
|
||||||||||||||||||||||||||||||||||||||||
|
Schedule local_abspath for deletion, it will be deleted from the repository on the next commit. If local_abspath refers to a directory, then a recursive deletion will occur. wc_ctx must hold a write lock for the parent of local_abspath, local_abspath itself and everything below @ local_abspath. If keep_local is FALSE, this function immediately deletes all files, modified and unmodified, versioned and of delete_unversioned is TRUE, unversioned from the working copy. It also immediately deletes unversioned directories and directories that are scheduled to be added below local_abspath. Only versioned may remain in the working copy, these get deleted by the update following the commit. If keep_local is TRUE, all files and directories will be kept in the working copy (and will become unversioned on the next commit). If delete_unversioned_target is TRUE and local_abspath is not versioned, local_abspath will be handled as an added files without history. So it will be deleted if keep_local is FALSE. If delete_unversioned is FALSE and local_abspath is not versioned a SVN_ERR_WC_PATH_NOT_FOUND error will be returned. If cancel_func is non-NULL, call it with cancel_baton at various points during the operation. If it returns an error (typically SVN_ERR_CANCELLED), return that error immediately.
For each path marked for deletion, notify_func will be called with the notify_baton and that path. The notify_func callback may be Use scratch_pool for temporary allocations. It may be cleared immediately upon returning from this function.
|
|
||||||||||||||||||||||||||||
|
Similar to svn_wc_diff2(), but with ignore_ancestry always set to
|
|
||||||||||||||||||||||||||||||||
|
Similar to svn_wc_diff3(), but with a svn_wc_diff_callbacks_t argument instead of svn_wc_diff_callbacks2_t.
|
|
||||||||||||||||||||||||||||||||
|
Similar to svn_wc_diff4(), but with changelists passed
|
|
||||||||||||||||||||||||||||||||||||
|
Similar to svn_wc_diff5(), but with a svn_wc_diff_callbacks2_t argument instead of svn_wc_diff_callbacks3_t.
|
|
||||||||||||||||||||||||||||||||||||
|
Similar to svn_wc_diff6(), but with a svn_wc_diff_callbacks3_t argument instead of svn_wc_diff_callbacks4_t, and show_copies_as_adds set to It also doesn't allow specifying a cancel function.
|
|
||||||||||||||||||||||||||||||||||||||||||||||||
|
Compare working copy against the text-base. target_path represents the base of the hierarchy to be compared. callbacks/callback_baton is the callback table to use when two files are to be compared. If depth is svn_depth_empty, just diff exactly target or anchor if target is empty. If svn_depth_files then do the same and for top-level file entries as well (if any). If svn_depth_immediates, do the same as svn_depth_files but also diff top-level subdirectories at svn_depth_empty. If svn_depth_infinity, then diff fully recursively. In the latter case, anchor should be part of an access baton set for the target hierarchy.
ignore_ancestry determines whether paths that have discontinuous node ancestry are treated as delete/add or as simple modifications. If ignore_ancestry is show_copies_as_adds determines whether paths added with history will appear as a diff against their copy source, or whether such paths will appear as if they were newly added in their entirety.
changelists is an array of If cancel_func is non-NULL, invoke it with cancel_baton at various points during the operation. If it returns an error (typically SVN_ERR_CANCELLED), return that error immediately.
|
|
||||||||||||||||
|
Set *externals_old and *externals_new to hash tables representing changes to values of the svn:externals property on directories traversed by traversal_info. traversal_info is obtained from svn_wc_init_traversal_info(), but is only useful after it has been passed through another function, such as svn_wc_crawl_revisions(), svn_wc_get_update_editor(), svn_wc_get_switch_editor(), etc.
Each hash maps The hashes, keys, and values have the same lifetime as traversal_info. New code should use the svn_wc_external_update_t callback instead.
|
|
||||||||||||||||||||||||
|
Similar to svn_wc_ensure_adm2(), but with repos set to
|
|
||||||||||||||||||||||||||||
|
Similar to svn_wc_ensure_adm3(), but with depth set to svn_depth_infinity. See the note on svn_wc_ensure_adm3() regarding the repos and uuid parameters.
|
|
||||||||||||||||||||||||||||||||
|
Similar to svn_wc_ensure_adm4(), but without the wc context parameter.
|
|
||||||||||||||||||||||||||||||||||||
|
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.
depth must be a definite depth, it cannot be svn_depth_unknown. repos_uuid and repos_root_url MUST NOT be If the administrative area does not exist, then create it and initialize it to an unlocked state. If the administrative area already exists then the given url must match the URL in the administrative area and the given revision must match the BASE of the working copy dir unless the admin directory is scheduled for deletion or the SVN_ERR_WC_OBSTRUCTED_UPDATE error will be returned. Do not ensure existence of local_abspath itself; if local_abspath does not exist, return error. Use scratch_pool for temporary allocations.
|
|
||||||||||||||||||||
|
Parse the `entries' file for adm_access and return a hash entries, whose keys are ( The hash entries, and its keys and values, are allocated from the pool used to open the adm_access baton (that's how the entries caching works). pool is used for transient allocations. Entries that are in a 'excluded', 'deleted' or 'absent' state (and not scheduled for re-addition) are not returned in the hash, unless show_hidden is TRUE. Excluded entries are those with their depth set to svn_depth_exclude.
|
|
||||||||||||||||||||||||
|
Set *entry to an entry for path, allocated in the access baton pool.
If show_hidden is TRUE, return the entry even if it's in 'excluded', 'deleted' or 'absent' state. Excluded entries are those with their depth set to svn_depth_exclude. If path is not under revision control, or if entry is hidden, not scheduled for re-addition, and show_hidden is *entry should not be modified, since doing so modifies the entries cache in adm_access without changing the entries file on disk. If path is not a directory then adm_access must be an access baton for the parent directory of path. To avoid needing to know whether path is a directory or not, if path is a directory adm_access can still be an access baton for the parent of path so long as the access baton for path itself is in the same access baton set. path can be relative or absolute but must share the same base used to open adm_access. Note that it is possible for path to be absent from disk but still under revision control; and conversely, it is possible for path to be present, but not under revision control. Use pool only for local processing.
|
|
||||||||||||
|
Return a duplicate of entry, allocated in pool. No part of the new entry will be shared with entry. |
|
||||||||||||||||||||||||||||||||
|
Remove the local node for local_abspath from the working copy and add an excluded node placeholder in its place. This feature is only supported for unmodified nodes. An SVN_ERR_UNSUPPORTED_FEATURE error is returned if the node can't be excluded in its current state. wc_ctx contains a tree lock, for the local path to the working copy which will be used as the root of this operation
If notify_func is not
If cancel_func is not
|
|
||||||||||||
|
Return a duplicate of item, allocated in pool. No part of the new item will be shared with item.
|
|
||||||||||||
|
Initialize an external item. Set *item to an external item object, allocated in pool. In order to avoid backwards compatibility problems, this function is used to initialize and allocate the svn_wc_external_item2_t structure rather than doing so explicitly, as the size of this structure may change in the future. The current implementation never returns error, but callers should still check for error, for compatibility with future versions.
|
|
||||||||||||
|
Return a duplicate of item, allocated in pool. No part of the new item will be shared with item.
|
|
||||||||||||||||||||
|
Similar to svn_wc_get_actual_target2(), but without the wc context, and with a absolute path.
|
|
||||||||||||||||||||||||||||
|
Conditionally split path into an anchor and target for the purpose of updating and committing. anchor is the directory at which the update or commit editor should be rooted. target is the actual subject (relative to the anchor) of the update/commit, or "" if the anchor itself is the subject. Allocate anchor and target in result_pool; scratch_pool is used for temporary allocations.
|
|
|
Return the name of the administrative directory. Use pool for any temporary allocations. The returned pointer will refer to either a statically allocated string, or to a string allocated in pool.
|
|
||||||||||||||||||||||||||||
|
Set *url and *rev to the ancestor URL and revision for local_abspath, allocating in result_pool. Any temporary allocations are performed using scratch_pool. If url or rev is NULL, then ignore it (just don't return the corresponding information).
|
|
||||||||||||||||
|
Get the run-time configured list of ignore patterns from the svn_config_t's in the config hash, and store them in *patterns. Allocate *patterns and its contents in pool. |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Similar to svn_wc_get_diff_editor2(), but with ignore_ancestry always set to
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Similar to svn_wc_get_diff_editor3(), but with an svn_wc_diff_callbacks_t instead of svn_wc_diff_callbacks2_t.
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Similar to svn_wc_get_diff_editor4(), but with changelists passed as
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Similar to svn_wc_get_diff_editor5(), but with an svn_wc_diff_callbacks2_t instead of svn_wc_diff_callbacks3_t.
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Similar to svn_wc_get_diff_editor6(), but with an svn_wc_diff_callbacks3_t instead of svn_wc_diff_callbacks4_t, and show_copies_as_adds set to
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Return an editor/edit_baton for diffing a working copy against the repository. The editor is allocated in result_pool; temporary calculations are performed in scratch_pool. anchor_path/target represent the base of the hierarchy to be compared. callbacks/callback_baton is the callback table to use when two files are to be compared. If depth is svn_depth_empty, just diff exactly target or anchor if target is empty. If svn_depth_files then do the same and for top-level file entries as well (if any). If svn_depth_immediates, do the same as svn_depth_files but also diff top-level subdirectories at svn_depth_empty. If svn_depth_infinity, then diff fully recursively. In the latter case, anchor should be part of an access baton set for the target hierarchy.
ignore_ancestry determines whether paths that have discontinuous node ancestry are treated as delete/add or as simple modifications. If ignore_ancestry is show_copies_as_adds determines whether paths added with history will appear as a diff against their copy source, or whether such paths will appear as if they were newly added in their entirety. If use_text_base is TRUE, then compare the repository against the working copy's text-base files, rather than the working files. Normally, the difference from repository->working_copy is shown. If reverse_order is TRUE, then show working_copy->repository diffs. If cancel_func is non-NULL, it will be used along with cancel_baton to periodically check if the client has canceled the operation.
changelists is an array of
|
|
||||||||||||||||||||
|
Similar to svn_wc_get_ignores2(), but with a svn_wc_adm_access_t parameter in place of svn_wc_context_t and
|
|
||||||||||||||||||||||||||||
|
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. Allocate *patterns and its contents in result_pool, use scrach_pool for temporary allocations.
|
|
||||||||||||||||||||
|
Similar to svn_wc_get_pristine_contents2, but takes no working copy context and a path that can be relative.
|
|
||||||||||||||||||||||||
|
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. That means: When there is no change in node history scheduled, i.e. when there are only local text-mods, prop-mods or a delete, return the last checked-out or updated-/switched-to contents of the file.
If the file is simply added or replaced (no copy-/move-here involved), set *contents to When the file has been locally copied-/moved-here, return the contents of the copy/move source (even if the copy-/move-here replaces a locally deleted file).
If refers to an unversioned or non-existing path, return
|
|
||||||||||||||||
|
Returns a path to the pristine copy of path. Should use svn_wc_get_pristine_contents() instead.
|
|
||||||||||||||||||||||||
|
Similar to svn_wc_get_prop_diffs2(), but with a svn_wc_adm_access_t / relative path parameter pair.
|
|
||||||||||||||||||||||||||||
|
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. wc_ctx will be used to access the working copy.
If propchanges is non-
If original_props is non- Use scratch_pool for temporary allocations. |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Similar to svn_wc_get_switch_editor2(), but takes an svn_wc_notify_func_t instead.
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
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.
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
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. This function doesn't support an external file fetcher. If ti is non-NULL, record traversal info in ti, for use by post-traversal accessors such as svn_wc_edited_externals().
All locks, both those in anchor and newly acquired ones, will be released when the editor driver calls
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
A variant of svn_wc_get_update_editor().
Set *editor and *edit_baton to an editor and baton for "switching" a working copy to a new switch_url. (Right now, this URL must be within the same repository that the working copy already comes from.) switch_url must not be anchor_abspath is a local working copy directory, with a fully recursive write lock in wc_ctx, which will be used as the root of our editor. target_basename is the entry in anchor_abspath that will actually be updated, or the empty string if all of anchor_abspath should be updated. target is the entry in anchor that will actually be updated, or empty if all of anchor should be updated. The editor invokes notify_func with notify_baton as the switch progresses, if notify_func is non-NULL. If cancel_func is non-NULL, it will be called with cancel_baton as the switch progresses to determine if it should continue. If conflict_func is non-NULL, then invoke it with conflict_baton whenever a conflict is encountered, giving the callback a chance to resolve the conflict before the editor takes more drastic measures (such as marking a file conflicted, or bailing out of the switch). If external_func is non-NULL, then invoke it with external_baton whenever external changes are encountered, giving the callback a chance to store the external information for processing. If fetch_func is non-NULL, then use it (with fetch_baton) as a fallback for retrieving repository files whenever 'copyfrom' args are sent into editor->add_file(). If diff3_cmd is non-NULL, then use it as the diff3 command for any merging; otherwise, use the built-in merge code.
preserved_exts is an array of filename patterns which, when matched against the extensions of versioned files, determine for which such files any related generated conflict files will preserve the original file's extension as their own. If a file's extension does not match any of the patterns in preserved_exts (which is certainly the case if preserved_exts is target_revision is a pointer to a revision location which, after successful completion of the drive of this editor, will be populated with the revision to which the working copy was updated. If use_commit_times is TRUE, then all edited/added files will have their working timestamp set to the last-committed-time. If FALSE, the working files will be touched with the 'now' time. depth and depth_is_sticky behave as for svn_wc_get_update_editor3(). If allow_unver_obstructions is TRUE, then allow unversioned obstructions when adding a path.
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Similar to svn_wc_get_update_editor2(), but takes an svn_wc_notify_func_t instead.
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
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.
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
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. If ti is non-NULL, record traversal info in ti, for use by post-traversal accessors such as svn_wc_edited_externals().
All locks, both those in anchor and newly acquired ones, will be released when the editor driver calls
|
|