Subversion
|
Subversion's working copy library. More...
#include <apr.h>
#include <apr_pools.h>
#include <apr_tables.h>
#include <apr_hash.h>
#include <apr_time.h>
#include <apr_file_io.h>
#include "svn_types.h"
#include "svn_string.h"
#include "svn_checksum.h"
#include "svn_io.h"
#include "svn_delta.h"
#include "svn_opt.h"
#include "svn_ra.h"
Go to the source code of this file.
Data Structures | |
struct | svn_wc_external_item2_t |
One external item. More... | |
struct | svn_wc_external_item_t |
One external item. More... | |
struct | svn_wc_notify_t |
Structure used in the svn_wc_notify_func2_t function. More... | |
struct | svn_wc_conflict_version_t |
Info about one of the conflicting versions of a node. More... | |
struct | svn_wc_conflict_description2_t |
A struct that describes a conflict that has occurred in the working copy. More... | |
struct | svn_wc_conflict_description_t |
Similar to svn_wc_conflict_description2_t, but with relative paths and adm_access batons. More... | |
struct | svn_wc_conflict_result_t |
The final result returned by svn_wc_conflict_resolver_func_t. More... | |
struct | svn_wc_diff_callbacks4_t |
A callback vtable invoked by our diff-editors, as they receive diffs from the server. More... | |
struct | svn_wc_diff_callbacks3_t |
Similar to svn_wc_diff_callbacks4_t, but without copyfrom_path and copyfrom_revision arguments to file_added and dir_added functions. More... | |
struct | svn_wc_diff_callbacks2_t |
Similar to svn_wc_diff_callbacks3_t, but without the dir_opened and dir_closed functions, and without the tree_conflicted argument to the functions. More... | |
struct | svn_wc_diff_callbacks_t |
Similar to svn_wc_diff_callbacks2_t, but with file additions/content changes and property changes split into different functions. More... | |
struct | svn_wc_entry_t |
A working copy entry – that is, revision control information about one versioned entity. More... | |
struct | svn_wc_info_t |
This struct contains information about a working copy node. More... | |
struct | svn_wc_entry_callbacks2_t |
A callback vtable invoked by the generic entry-walker function. More... | |
struct | svn_wc_entry_callbacks_t |
struct | svn_wc_status3_t |
Structure for holding the "status" of a working copy item. More... | |
struct | svn_wc_status2_t |
struct | svn_wc_status_t |
Same as svn_wc_status2_t, but without the svn_lock_t 'repos_lock', const char 'url', svn_revnum_t 'ood_last_cmt_rev', apr_time_t 'ood_last_cmt_date', svn_node_kind_t 'ood_kind', const char 'ood_last_cmt_author', svn_wc_conflict_description_t 'tree_conflict', svn_boolean_t 'file_external', svn_wc_status_kind 'pristine_text_status', and svn_wc_status_kind 'pristine_prop_status' fields. More... | |
struct | svn_wc_revision_status_t |
A structure to report a summary of a working copy, including the mix of revisions found within it, whether any parts are switched or locally modified, and whether it is a sparse checkout. More... | |
Macros | |
#define | SVN_WC_TRANSLATE_FROM_NF 0x00000000 |
Translate from Normal Form. More... | |
#define | SVN_WC_TRANSLATE_TO_NF 0x00000001 |
Translate to Normal Form. More... | |
#define | SVN_WC_TRANSLATE_FORCE_EOL_REPAIR 0x00000002 |
Force repair of eol styles, making sure the output file consistently contains the one eol style as specified by the svn:eol-style property and the required translation direction. | |
#define | SVN_WC_TRANSLATE_NO_OUTPUT_CLEANUP 0x00000004 |
Don't register a pool cleanup to delete the output file. | |
#define | SVN_WC_TRANSLATE_FORCE_COPY 0x00000008 |
Guarantee a new file is created on successful return. More... | |
#define | SVN_WC_TRANSLATE_USE_GLOBAL_TMP 0x00000010 |
Use a non-wc-local tmp directory for creating output files, instead of in the working copy admin tmp area which is the default. More... | |
#define | SVN_WC_ADM_DIR_NAME ".svn" |
The default name of the administrative subdirectory. More... | |
#define | SVN_WC_ENTRY_WORKING_SIZE_UNKNOWN (-1) |
Values for the working_size field in svn_wc_entry_t when it isn't set to the actual size value of the unchanged working file. More... | |
#define | SVN_WC_ENTRY_THIS_DIR "" |
How an entries file's owner dir is named in the entries file. More... | |
Typedefs | |
typedef struct svn_wc_context_t | svn_wc_context_t |
The context for all working copy interactions. More... | |
typedef struct svn_wc_adm_access_t | svn_wc_adm_access_t |
Baton for access to a working copy administrative area. More... | |
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. More... | |
typedef struct svn_wc_traversal_info_t | svn_wc_traversal_info_t |
Traversal information is information gathered by a working copy crawl or update. More... | |
typedef struct svn_wc_external_item2_t | svn_wc_external_item2_t |
One external item. More... | |
typedef struct svn_wc_external_item_t | svn_wc_external_item_t |
One external item. More... | |
typedef enum svn_wc_notify_action_t | svn_wc_notify_action_t |
The type of action occurring. More... | |
typedef enum svn_wc_notify_state_t | svn_wc_notify_state_t |
The type of notification that is occurring. More... | |
typedef enum svn_wc_notify_lock_state_t | svn_wc_notify_lock_state_t |
What happened to a lock during an operation. More... | |
typedef struct svn_wc_notify_t | svn_wc_notify_t |
Structure used in the svn_wc_notify_func2_t function. More... | |
typedef void(* | svn_wc_notify_func2_t) (void *baton, const svn_wc_notify_t *notify, apr_pool_t *pool) |
Notify the world that notify->action has happened to notify->path. More... | |
typedef void(* | svn_wc_notify_func_t) (void *baton, const char *path, svn_wc_notify_action_t action, svn_node_kind_t kind, const char *mime_type, svn_wc_notify_state_t content_state, svn_wc_notify_state_t prop_state, svn_revnum_t revision) |
Similar to svn_wc_notify_func2_t, but takes the information as arguments instead of struct fields. More... | |
typedef enum svn_wc_conflict_action_t | svn_wc_conflict_action_t |
The type of action being attempted on an object. More... | |
typedef enum svn_wc_conflict_reason_t | svn_wc_conflict_reason_t |
The pre-existing condition which is causing a state of conflict. More... | |
typedef enum svn_wc_conflict_kind_t | svn_wc_conflict_kind_t |
The type of conflict being described by an svn_wc_conflict_description2_t (see below). More... | |
typedef enum svn_wc_operation_t | svn_wc_operation_t |
The user operation that exposed a conflict. More... | |
typedef struct svn_wc_conflict_version_t | svn_wc_conflict_version_t |
Info about one of the conflicting versions of a node. More... | |
typedef struct svn_wc_conflict_description2_t | svn_wc_conflict_description2_t |
A struct that describes a conflict that has occurred in the working copy. More... | |
typedef struct svn_wc_conflict_description_t | svn_wc_conflict_description_t |
Similar to svn_wc_conflict_description2_t, but with relative paths and adm_access batons. More... | |
typedef enum svn_wc_conflict_choice_t | svn_wc_conflict_choice_t |
The way in which the conflict callback chooses a course of action. More... | |
typedef struct svn_wc_conflict_result_t | svn_wc_conflict_result_t |
The final result returned by svn_wc_conflict_resolver_func_t. More... | |
typedef svn_error_t *(* | svn_wc_conflict_resolver_func2_t) (svn_wc_conflict_result_t **result, const svn_wc_conflict_description2_t *description, void *baton, apr_pool_t *result_pool, apr_pool_t *scratch_pool) |
A callback used in merge, update and switch for resolving conflicts during the application of a tree delta to a working copy. More... | |
typedef svn_error_t *(* | svn_wc_conflict_resolver_func_t) (svn_wc_conflict_result_t **result, const svn_wc_conflict_description_t *description, void *baton, apr_pool_t *pool) |
Similar to svn_wc_conflict_resolver_func2_t, but using svn_wc_conflict_description_t instead of svn_wc_conflict_description2_t. More... | |
typedef struct svn_wc_diff_callbacks4_t | svn_wc_diff_callbacks4_t |
A callback vtable invoked by our diff-editors, as they receive diffs from the server. More... | |
typedef struct svn_wc_diff_callbacks3_t | svn_wc_diff_callbacks3_t |
Similar to svn_wc_diff_callbacks4_t, but without copyfrom_path and copyfrom_revision arguments to file_added and dir_added functions. More... | |
typedef struct svn_wc_diff_callbacks2_t | svn_wc_diff_callbacks2_t |
Similar to svn_wc_diff_callbacks3_t, but without the dir_opened and dir_closed functions, and without the tree_conflicted argument to the functions. More... | |
typedef struct svn_wc_diff_callbacks_t | svn_wc_diff_callbacks_t |
Similar to svn_wc_diff_callbacks2_t, but with file additions/content changes and property changes split into different functions. More... | |
typedef enum svn_wc_schedule_t | svn_wc_schedule_t |
The schedule states an entry can be in. More... | |
typedef struct svn_wc_entry_t | svn_wc_entry_t |
A working copy entry – that is, revision control information about one versioned entity. More... | |
typedef struct svn_wc_info_t | svn_wc_info_t |
This struct contains information about a working copy node. More... | |
typedef struct svn_wc_entry_callbacks2_t | svn_wc_entry_callbacks2_t |
A callback vtable invoked by the generic entry-walker function. More... | |
typedef struct svn_wc_entry_callbacks_t | svn_wc_entry_callbacks_t |
typedef struct svn_wc_status3_t | svn_wc_status3_t |
Structure for holding the "status" of a working copy item. More... | |
typedef struct svn_wc_status2_t | svn_wc_status2_t |
typedef struct svn_wc_status_t | svn_wc_status_t |
Same as svn_wc_status2_t, but without the svn_lock_t 'repos_lock', const char 'url', svn_revnum_t 'ood_last_cmt_rev', apr_time_t 'ood_last_cmt_date', svn_node_kind_t 'ood_kind', const char 'ood_last_cmt_author', svn_wc_conflict_description_t 'tree_conflict', svn_boolean_t 'file_external', svn_wc_status_kind 'pristine_text_status', and svn_wc_status_kind 'pristine_prop_status' fields. More... | |
typedef svn_error_t *(* | svn_wc_status_func4_t) (void *baton, const char *local_abspath, const svn_wc_status3_t *status, apr_pool_t *scratch_pool) |
A callback for reporting a status about local_abspath. More... | |
typedef svn_error_t *(* | svn_wc_status_func3_t) (void *baton, const char *path, svn_wc_status2_t *status, apr_pool_t *pool) |
Same as svn_wc_status_func4_t, but with a non-const status and a relative path. More... | |
typedef void(* | svn_wc_status_func2_t) (void *baton, const char *path, svn_wc_status2_t *status) |
Same as svn_wc_status_func3_t, but without a provided pool or the ability to propagate errors. More... | |
typedef void(* | svn_wc_status_func_t) (void *baton, const char *path, svn_wc_status_t *status) |
Same as svn_wc_status_func2_t, but for older svn_wc_status_t structures. More... | |
typedef struct svn_wc_committed_queue_t | svn_wc_committed_queue_t |
Storage type for queued post-commit data. More... | |
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. More... | |
typedef svn_error_t *(* | svn_wc_dirents_func_t) (void *baton, apr_hash_t **dirents, const char *repos_root_url, const char *repos_relpath, apr_pool_t *result_pool, apr_pool_t *scratch_pool) |
A simple callback type to wrap svn_ra_get_dir2() for avoiding issue #3569, where a directory is updated to a revision without some of its children recorded in the working copy. More... | |
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. More... | |
typedef enum svn_wc_merge_outcome_t | svn_wc_merge_outcome_t |
The outcome of a merge carried out (or tried as a dry-run) by svn_wc_merge() | |
typedef svn_error_t *(* | svn_wc_upgrade_get_repos_info_t) (const char **repos_root, const char **repos_uuid, void *baton, const char *url, apr_pool_t *result_pool, apr_pool_t *scratch_pool) |
Callback for retrieving a repository root for a url from upgrade. More... | |
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. More... | |
typedef svn_error_t *(* | svn_wc_relocation_validator2_t) (void *baton, const char *uuid, const char *url, svn_boolean_t root, apr_pool_t *pool) |
Similar to svn_wc_relocation_validator3_t, but with the root argument. More... | |
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. More... | |
typedef struct svn_wc_revision_status_t | svn_wc_revision_status_t |
A structure to report a summary of a working copy, including the mix of revisions found within it, whether any parts are switched or locally modified, and whether it is a sparse checkout. More... | |
typedef svn_error_t *(* | svn_changelist_receiver_t) (void *baton, const char *path, const char *changelist, apr_pool_t *pool) |
The callback type used by svn_wc_get_changelists() and svn_client_get_changelists(). More... | |
Functions | |
const svn_version_t * | svn_wc_version (void) |
Get libsvn_wc version information. More... | |
svn_error_t * | svn_wc_context_create (svn_wc_context_t **wc_ctx, const svn_config_t *config, apr_pool_t *result_pool, apr_pool_t *scratch_pool) |
Create a context for the working copy, and return it in *wc_ctx. More... | |
svn_error_t * | svn_wc_context_destroy (svn_wc_context_t *wc_ctx) |
Destroy the working copy context described by wc_ctx, releasing any acquired resources. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
const char * | svn_wc_get_adm_dir (apr_pool_t *pool) |
Return the name of the administrative directory. More... | |
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. More... | |
svn_wc_traversal_info_t * | svn_wc_init_traversal_info (apr_pool_t *pool) |
Return a new, empty traversal info object, allocated in pool. More... | |
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. More... | |
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()). More... | |
svn_error_t * | svn_wc_external_item2_create (svn_wc_external_item2_t **item, apr_pool_t *pool) |
Initialize an external item. More... | |
svn_error_t * | svn_wc_external_item_create (const svn_wc_external_item2_t **item, apr_pool_t *pool) |
Same as svn_wc_external_item2_create() except the pointer to the new empty item is 'const' which is stupid since the next thing you need to do is fill in its fields. More... | |
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. More... | |
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. More... | |
svn_error_t * | svn_wc_parse_externals_description3 (apr_array_header_t **externals_p, const char *defining_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. More... | |
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. More... | |
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. More... | |
svn_wc_notify_t * | svn_wc_create_notify (const char *path, svn_wc_notify_action_t action, apr_pool_t *pool) |
Allocate an svn_wc_notify_t structure in pool, initialize and return it. More... | |
svn_wc_notify_t * | svn_wc_create_notify_url (const char *url, svn_wc_notify_action_t action, apr_pool_t *pool) |
Allocate an svn_wc_notify_t structure in pool, initialize and return it. More... | |
svn_wc_notify_t * | svn_wc_dup_notify (const svn_wc_notify_t *notify, apr_pool_t *pool) |
Return a deep copy of notify, allocated in pool. More... | |
svn_wc_conflict_version_t * | svn_wc_conflict_version_create2 (const char *repos_root_url, const char *repos_uuid, const char *repos_relpath, svn_revnum_t revision, svn_node_kind_t kind, apr_pool_t *result_pool) |
Allocate an svn_wc_conflict_version_t structure in pool, initialize to contain a conflict origin, and return it. More... | |
svn_wc_conflict_version_t * | svn_wc_conflict_version_create (const char *repos_url, const char *path_in_repos, svn_revnum_t peg_rev, svn_node_kind_t node_kind, apr_pool_t *pool) |
Similar to svn_wc_conflict_version_create2(), but doesn't set all required values. More... | |
svn_wc_conflict_version_t * | svn_wc_conflict_version_dup (const svn_wc_conflict_version_t *version, apr_pool_t *pool) |
Return a duplicate of version, allocated in pool. More... | |
svn_wc_conflict_description2_t * | svn_wc_conflict_description_create_text2 (const char *local_abspath, apr_pool_t *result_pool) |
Allocate an svn_wc_conflict_description2_t structure in result_pool, initialize to represent a text conflict, and return it. More... | |
svn_wc_conflict_description_t * | svn_wc_conflict_description_create_text (const char *path, svn_wc_adm_access_t *adm_access, apr_pool_t *pool) |
Similar to svn_wc_conflict_description_create_text2(), but returns a svn_wc_conflict_description_t *. More... | |
svn_wc_conflict_description2_t * | svn_wc_conflict_description_create_prop2 (const char *local_abspath, svn_node_kind_t node_kind, const char *property_name, apr_pool_t *result_pool) |
Allocate an svn_wc_conflict_description2_t structure in result_pool, initialize to represent a property conflict, and return it. More... | |
svn_wc_conflict_description_t * | svn_wc_conflict_description_create_prop (const char *path, svn_wc_adm_access_t *adm_access, svn_node_kind_t node_kind, const char *property_name, apr_pool_t *pool) |
Similar to svn_wc_conflict_descriptor_create_prop(), but returns a svn_wc_conflict_description_t *. More... | |
svn_wc_conflict_description2_t * | svn_wc_conflict_description_create_tree2 (const char *local_abspath, svn_node_kind_t node_kind, svn_wc_operation_t operation, const svn_wc_conflict_version_t *src_left_version, const svn_wc_conflict_version_t *src_right_version, apr_pool_t *result_pool) |
Allocate an svn_wc_conflict_description2_t structure in pool, initialize to represent a tree conflict, and return it. More... | |
svn_wc_conflict_description_t * | svn_wc_conflict_description_create_tree (const char *path, svn_wc_adm_access_t *adm_access, svn_node_kind_t node_kind, svn_wc_operation_t operation, svn_wc_conflict_version_t *src_left_version, svn_wc_conflict_version_t *src_right_version, apr_pool_t *pool) |
Similar to svn_wc_conflict_description_create_tree(), but returns a svn_wc_conflict_description_t *. More... | |
svn_wc_conflict_description2_t * | svn_wc_conflict_description2_dup (const svn_wc_conflict_description2_t *conflict, apr_pool_t *result_pool) |
Return a duplicate of conflict, allocated in result_pool. More... | |
svn_wc_conflict_description2_t * | svn_wc__conflict_description2_dup (const svn_wc_conflict_description2_t *conflict, apr_pool_t *result_pool) |
Like svn_wc_conflict_description2_dup(), but is improperly named as a private function when it is intended to be a public API. More... | |
svn_wc_conflict_result_t * | svn_wc_create_conflict_result (svn_wc_conflict_choice_t choice, const char *merged_file, apr_pool_t *pool) |
Allocate an svn_wc_conflict_result_t structure in pool, initialize and return it. More... | |
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. More... | |
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. More... | |
svn_error_t * | svn_wc_has_binary_prop (svn_boolean_t *has_binary_prop, const char *path, svn_wc_adm_access_t *adm_access, apr_pool_t *pool) |
Set *has_binary_prop to TRUE iff path has been marked with a property indicating that it is non-text (in other words, binary). More... | |
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 unused, 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. More... | |
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? More... | |
svn_error_t * | svn_wc_props_modified_p2 (svn_boolean_t *modified_p, svn_wc_context_t *wc_ctx, const char *local_abspath, apr_pool_t *scratch_pool) |
Set *modified_p to non-zero if path's properties are modified with regard to the base revision, else set modified_p to zero. More... | |
svn_error_t * | svn_wc_props_modified_p (svn_boolean_t *modified_p, const char *path, svn_wc_adm_access_t *adm_access, apr_pool_t *pool) |
Similar to svn_wc_props_modified_p2(), but with a relative path and adm_access baton. More... | |
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. More... | |
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 * ). More... | |
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. More... | |
svn_wc_info_t * | svn_wc_info_dup (const svn_wc_info_t *info, apr_pool_t *pool) |
Return a duplicate of info, allocated in pool. More... | |
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. More... | |
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. More... | |
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. More... | |
svn_error_t * | svn_wc_get_ancestry (char **url, svn_revnum_t *rev, const char *path, svn_wc_adm_access_t *adm_access, apr_pool_t *pool) |
Set *url and *rev to the ancestor URL and revision for path, allocating in pool. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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 . More... | |
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. More... | |
svn_wc_status3_t * | svn_wc_dup_status3 (const svn_wc_status3_t *orig_stat, apr_pool_t *pool) |
Return a deep copy of the orig_stat status structure, allocated in pool. More... | |
svn_wc_status2_t * | svn_wc_dup_status2 (const svn_wc_status2_t *orig_stat, apr_pool_t *pool) |
Same as svn_wc_dup_status3(), but for older svn_wc_status_t structures. More... | |
svn_wc_status_t * | svn_wc_dup_status (const svn_wc_status_t *orig_stat, apr_pool_t *pool) |
Same as svn_wc_dup_status2(), but for older svn_wc_status_t structures. More... | |
svn_error_t * | svn_wc_status3 (svn_wc_status3_t **status, svn_wc_context_t *wc_ctx, const char *local_abspath, apr_pool_t *result_pool, apr_pool_t *scratch_pool) |
Fill *status for local_abspath, allocating in result_pool. More... | |
svn_error_t * | svn_wc_status2 (svn_wc_status2_t **status, const char *path, svn_wc_adm_access_t *adm_access, apr_pool_t *pool) |
Similar to svn_wc_status3(), but with a adm_access baton and absolute path. More... | |
svn_error_t * | svn_wc_status (svn_wc_status_t **status, const char *path, svn_wc_adm_access_t *adm_access, apr_pool_t *pool) |
Same as svn_wc_status2(), but for older svn_wc_status_t structures. More... | |
svn_error_t * | svn_wc_walk_status (svn_wc_context_t *wc_ctx, const char *local_abspath, svn_depth_t depth, svn_boolean_t get_all, svn_boolean_t no_ignore, svn_boolean_t ignore_text_mods, const apr_array_header_t *ignore_patterns, svn_wc_status_func4_t status_func, void *status_baton, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *scratch_pool) |
Walk the working copy status of local_abspath using wc_ctx, by creating svn_wc_status3_t structures and sending these through status_func / status_baton. More... | |
svn_error_t * | svn_wc_get_status_editor5 (const svn_delta_editor_t **editor, void **edit_baton, void **set_locks_baton, svn_revnum_t *edit_revision, svn_wc_context_t *wc_ctx, const char *anchor_abspath, const char *target_basename, svn_depth_t depth, svn_boolean_t get_all, svn_boolean_t no_ignore, svn_boolean_t depth_as_sticky, svn_boolean_t server_performs_filtering, const apr_array_header_t *ignore_patterns, svn_wc_status_func4_t status_func, void *status_baton, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *result_pool, apr_pool_t *scratch_pool) |
DEPRECATED – please use APIs from svn_client.h. More... | |
svn_error_t * | svn_wc_get_status_editor4 (const svn_delta_editor_t **editor, void **edit_baton, void **set_locks_baton, svn_revnum_t *edit_revision, svn_wc_adm_access_t *anchor, const char *target, svn_depth_t depth, svn_boolean_t get_all, svn_boolean_t no_ignore, const apr_array_header_t *ignore_patterns, svn_wc_status_func3_t status_func, void *status_baton, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_traversal_info_t *traversal_info, apr_pool_t *pool) |
Same as svn_wc_get_status_editor5, but using svn_wc_status_func3_t instead of svn_wc_status_func4_t. More... | |
svn_error_t * | svn_wc_get_status_editor3 (const svn_delta_editor_t **editor, void **edit_baton, void **set_locks_baton, svn_revnum_t *edit_revision, svn_wc_adm_access_t *anchor, const char *target, svn_depth_t depth, svn_boolean_t get_all, svn_boolean_t no_ignore, const apr_array_header_t *ignore_patterns, svn_wc_status_func2_t status_func, void *status_baton, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_traversal_info_t *traversal_info, apr_pool_t *pool) |
Same as svn_wc_get_status_editor4(), but using svn_wc_status_func2_t instead of svn_wc_status_func3_t. More... | |
svn_error_t * | svn_wc_get_status_editor2 (const svn_delta_editor_t **editor, void **edit_baton, void **set_locks_baton, svn_revnum_t *edit_revision, svn_wc_adm_access_t *anchor, const char *target, apr_hash_t *config, svn_boolean_t recurse, svn_boolean_t get_all, svn_boolean_t no_ignore, svn_wc_status_func2_t status_func, void *status_baton, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_traversal_info_t *traversal_info, apr_pool_t *pool) |
Like svn_wc_get_status_editor3(), but with ignore_patterns provided from the corresponding value in config, and recurse instead of depth. More... | |
svn_error_t * | svn_wc_get_status_editor (const svn_delta_editor_t **editor, void **edit_baton, svn_revnum_t *edit_revision, svn_wc_adm_access_t *anchor, const char *target, apr_hash_t *config, svn_boolean_t recurse, svn_boolean_t get_all, svn_boolean_t no_ignore, svn_wc_status_func_t status_func, void *status_baton, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_traversal_info_t *traversal_info, apr_pool_t *pool) |
Same as svn_wc_get_status_editor2(), but with set_locks_baton set to NULL , and taking a deprecated svn_wc_status_func_t argument. More... | |
svn_error_t * | svn_wc_status_set_repos_locks (void *set_locks_baton, apr_hash_t *locks, const char *repos_root, apr_pool_t *pool) |
Associate locks, a hash table mapping const char* absolute repository paths to svn_lock_t objects, with a set_locks_baton returned by an earlier call to svn_wc_get_status_editor3(). More... | |
svn_error_t * | svn_wc_copy3 (svn_wc_context_t *wc_ctx, const char *src_abspath, const char *dst_abspath, svn_boolean_t metadata_only, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_notify_func2_t notify_func, void *notify_baton, apr_pool_t *scratch_pool) |
Copy src_abspath to dst_abspath, and schedule dst_abspath for addition to the repository, remembering the copy history. More... | |
svn_error_t * | svn_wc_copy2 (const char *src, svn_wc_adm_access_t *dst_parent, const char *dst_basename, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_notify_func2_t notify_func, void *notify_baton, apr_pool_t *pool) |
Similar to svn_wc_copy3(), but takes access batons and a relative path and a basename instead of absolute paths and a working copy context. More... | |
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. More... | |
svn_error_t * | svn_wc_move (svn_wc_context_t *wc_ctx, const char *src_abspath, const char *dst_abspath, svn_boolean_t metadata_only, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_notify_func2_t notify_func, void *notify_baton, apr_pool_t *scratch_pool) |
Move src_abspath to dst_abspath, by scheduling dst_abspath for addition to the repository, remembering the history. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
svn_error_t * | svn_wc_add_from_disk3 (svn_wc_context_t *wc_ctx, const char *local_abspath, const apr_hash_t *props, svn_boolean_t skip_checks, svn_wc_notify_func2_t notify_func, void *notify_baton, apr_pool_t *scratch_pool) |
Schedule the single node that exists on disk at local_abspath for addition to the working copy. More... | |
svn_error_t * | svn_wc_add_from_disk2 (svn_wc_context_t *wc_ctx, const char *local_abspath, const apr_hash_t *props, svn_wc_notify_func2_t notify_func, void *notify_baton, apr_pool_t *scratch_pool) |
Similar to svn_wc_add_from_disk3(), but always passes FALSE for skip_checks. More... | |
svn_error_t * | svn_wc_add_from_disk (svn_wc_context_t *wc_ctx, const char *local_abspath, svn_wc_notify_func2_t notify_func, void *notify_baton, apr_pool_t *scratch_pool) |
Similar to svn_wc_add_from_disk2(), but always passes NULL for props. More... | |
svn_error_t * | svn_wc_add4 (svn_wc_context_t *wc_ctx, const char *local_abspath, svn_depth_t depth, const char *copyfrom_url, svn_revnum_t copyfrom_rev, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_notify_func2_t notify_func, void *notify_baton, apr_pool_t *scratch_pool) |
Put local_abspath under version control by registering it as addition or copy in the database containing its parent. More... | |
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. More... | |
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. More... | |
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. More... | |
svn_error_t * | svn_wc_add_repos_file4 (svn_wc_context_t *wc_ctx, const char *local_abspath, svn_stream_t *new_base_contents, svn_stream_t *new_contents, apr_hash_t *new_base_props, apr_hash_t *new_props, const char *copyfrom_url, svn_revnum_t copyfrom_rev, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *scratch_pool) |
Add a file to a working copy at local_abspath, obtaining the text-base's contents from new_base_contents, the wc file's content from new_contents, its unmodified properties from new_base_props and its actual properties from new_props. More... | |
svn_error_t * | svn_wc_add_repos_file3 (const char *dst_path, svn_wc_adm_access_t *adm_access, svn_stream_t *new_base_contents, svn_stream_t *new_contents, apr_hash_t *new_base_props, apr_hash_t *new_props, const char *copyfrom_url, svn_revnum_t copyfrom_rev, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_notify_func2_t notify_func, void *notify_baton, apr_pool_t *scratch_pool) |
Similar to svn_wc_add_repos_file4, but uses access batons and a relative path instead of a working copy context and absolute path. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
svn_error_t * | svn_wc_resolved_conflict5 (svn_wc_context_t *wc_ctx, const char *local_abspath, svn_depth_t depth, svn_boolean_t resolve_text, const char *resolve_prop, svn_boolean_t resolve_tree, svn_wc_conflict_choice_t conflict_choice, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_notify_func2_t notify_func, void *notify_baton, apr_pool_t *scratch_pool) |
Assuming local_abspath is under version control or a tree conflict victim and in a state of conflict, then take local_abspath out of this state. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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(). More... | |
svn_error_t * | svn_wc_queue_committed4 (svn_wc_committed_queue_t *queue, svn_wc_context_t *wc_ctx, const char *local_abspath, svn_boolean_t recurse, svn_boolean_t is_committed, const apr_array_header_t *wcprop_changes, svn_boolean_t remove_lock, svn_boolean_t remove_changelist, const svn_checksum_t *sha1_checksum, apr_pool_t *scratch_pool) |
Queue committed items to be processed later by svn_wc_process_committed_queue2(). More... | |
svn_error_t * | svn_wc_queue_committed3 (svn_wc_committed_queue_t *queue, svn_wc_context_t *wc_ctx, const char *local_abspath, svn_boolean_t recurse, const apr_array_header_t *wcprop_changes, svn_boolean_t remove_lock, svn_boolean_t remove_changelist, const svn_checksum_t *sha1_checksum, apr_pool_t *scratch_pool) |
Similar to svn_wc_queue_committed4, but with is_committed always TRUE. More... | |
svn_error_t * | svn_wc_queue_committed2 (svn_wc_committed_queue_t *queue, const char *path, svn_wc_adm_access_t *adm_access, svn_boolean_t recurse, const apr_array_header_t *wcprop_changes, svn_boolean_t remove_lock, svn_boolean_t remove_changelist, const svn_checksum_t *md5_checksum, apr_pool_t *scratch_pool) |
Same as svn_wc_queue_committed3() except path doesn't have to be an abspath and adm_access is unused and a SHA-1 checksum cannot be specified. More... | |
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. More... | |
svn_error_t * | svn_wc_process_committed_queue2 (svn_wc_committed_queue_t *queue, svn_wc_context_t *wc_ctx, svn_revnum_t new_revnum, const char *rev_date, const char *rev_author, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *scratch_pool) |
Bump all items in queue to new_revnum after a commit succeeds. More... | |
svn_error_t * | svn_wc_process_committed_queue (svn_wc_committed_queue_t *queue, svn_wc_adm_access_t *adm_access, svn_revnum_t new_revnum, const char *rev_date, const char *rev_author, apr_pool_t *pool) |
svn_error_t * | svn_wc_process_committed4 (const char *path, svn_wc_adm_access_t *adm_access, svn_boolean_t recurse, svn_revnum_t new_revnum, const char *rev_date, const char *rev_author, const apr_array_header_t *wcprop_changes, svn_boolean_t remove_lock, svn_boolean_t remove_changelist, const unsigned char *digest, apr_pool_t *pool) |
svn_error_t * | svn_wc_process_committed3 (const char *path, svn_wc_adm_access_t *adm_access, svn_boolean_t recurse, svn_revnum_t new_revnum, const char *rev_date, const char *rev_author, const apr_array_header_t *wcprop_changes, svn_boolean_t remove_lock, const unsigned char *digest, apr_pool_t *pool) |
svn_error_t * | svn_wc_process_committed2 (const char *path, svn_wc_adm_access_t *adm_access, svn_boolean_t recurse, svn_revnum_t new_revnum, const char *rev_date, const char *rev_author, const apr_array_header_t *wcprop_changes, svn_boolean_t remove_lock, apr_pool_t *pool) |
svn_error_t * | svn_wc_process_committed (const char *path, svn_wc_adm_access_t *adm_access, svn_boolean_t recurse, svn_revnum_t new_revnum, const char *rev_date, const char *rev_author, const apr_array_header_t *wcprop_changes, apr_pool_t *pool) |
svn_error_t * | svn_wc_crawl_revisions5 (svn_wc_context_t *wc_ctx, const char *local_abspath, const svn_ra_reporter3_t *reporter, void *report_baton, svn_boolean_t restore_files, svn_depth_t depth, svn_boolean_t honor_depth_exclude, svn_boolean_t depth_compatibility_trick, svn_boolean_t use_commit_times, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_notify_func2_t notify_func, void *notify_baton, apr_pool_t *scratch_pool) |
Do a depth-first crawl in a working copy, beginning at local_abspath, using wc_ctx for accessing the working copy. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
svn_error_t * | svn_wc_check_root (svn_boolean_t *is_wcroot, svn_boolean_t *is_switched, svn_node_kind_t *kind, svn_wc_context_t *wc_ctx, const char *local_abspath, apr_pool_t *scratch_pool) |
If is_wcroot is not NULL , set *is_wcroot to TRUE if local_abspath is the root of the working copy, otherwise to FALSE . More... | |
svn_error_t * | svn_wc_is_wc_root2 (svn_boolean_t *wc_root, svn_wc_context_t *wc_ctx, const char *local_abspath, apr_pool_t *scratch_pool) |
Set *wc_root to TRUE if local_abspath represents a "working copy
root", FALSE otherwise. Here, local_abspath is a "working copy root" if its parent directory is not a WC or if it is switched. More... | |
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. More... | |
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. More... | |
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. More... | |
svn_error_t * | svn_wc_get_update_editor4 (const svn_delta_editor_t **editor, void **edit_baton, svn_revnum_t *target_revision, svn_wc_context_t *wc_ctx, const char *anchor_abspath, const char *target_basename, svn_boolean_t use_commit_times, svn_depth_t depth, svn_boolean_t depth_is_sticky, svn_boolean_t allow_unver_obstructions, svn_boolean_t adds_as_modification, svn_boolean_t server_performs_filtering, svn_boolean_t clean_checkout, const char *diff3_cmd, const apr_array_header_t *preserved_exts, svn_wc_dirents_func_t fetch_dirents_func, void *fetch_dirents_baton, svn_wc_conflict_resolver_func2_t conflict_func, void *conflict_baton, svn_wc_external_update_t external_func, void *external_baton, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_notify_func2_t notify_func, void *notify_baton, apr_pool_t *result_pool, apr_pool_t *scratch_pool) |
DEPRECATED – please use APIs from svn_client.h. More... | |
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. More... | |
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. More... | |
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. More... | |
svn_error_t * | svn_wc_get_switch_editor4 (const svn_delta_editor_t **editor, void **edit_baton, svn_revnum_t *target_revision, svn_wc_context_t *wc_ctx, const char *anchor_abspath, const char *target_basename, const char *switch_url, svn_boolean_t use_commit_times, svn_depth_t depth, svn_boolean_t depth_is_sticky, svn_boolean_t allow_unver_obstructions, svn_boolean_t server_performs_filtering, const char *diff3_cmd, const apr_array_header_t *preserved_exts, svn_wc_dirents_func_t fetch_dirents_func, void *fetch_dirents_baton, svn_wc_conflict_resolver_func2_t conflict_func, void *conflict_baton, svn_wc_external_update_t external_func, void *external_baton, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_notify_func2_t notify_func, void *notify_baton, apr_pool_t *result_pool, apr_pool_t *scratch_pool) |
DEPRECATED – please use APIs from svn_client.h. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
svn_error_t * | svn_wc_get_pristine_props (apr_hash_t **props, svn_wc_context_t *wc_ctx, const char *local_abspath, apr_pool_t *result_pool, apr_pool_t *scratch_pool) |
Return the set of "pristine" properties for local_abspath. More... | |
svn_error_t * | svn_wc_prop_get2 (const svn_string_t **value, svn_wc_context_t *wc_ctx, const char *local_abspath, const char *name, apr_pool_t *result_pool, apr_pool_t *scratch_pool) |
Set *value to the value of property name for local_abspath, allocating *value in result_pool. More... | |
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. More... | |
svn_error_t * | svn_wc_prop_set4 (svn_wc_context_t *wc_ctx, const char *local_abspath, const char *name, const svn_string_t *value, svn_depth_t depth, svn_boolean_t skip_checks, const apr_array_header_t *changelist_filter, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_notify_func2_t notify_func, void *notify_baton, apr_pool_t *scratch_pool) |
Set property name to value for local_abspath, or if value is NULL, remove property name from local_abspath. More... | |
svn_error_t * | svn_wc_prop_set3 (const char *name, const svn_string_t *value, const char *path, svn_wc_adm_access_t *adm_access, svn_boolean_t skip_checks, svn_wc_notify_func2_t notify_func, void *notify_baton, apr_pool_t *pool) |
Similar to svn_wc_prop_set4(), but with a svn_wc_adm_access_t / relative path parameter pair, no depth parameter, no changelist filtering (for the depth-based property setting), and no cancellation. More... | |
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. More... | |
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. More... | |
svn_boolean_t | svn_wc_is_normal_prop (const char *name) |
Return TRUE iff name is a 'normal' property name. More... | |
svn_boolean_t | svn_wc_is_wc_prop (const char *name) |
Return TRUE iff name is a 'wc' property name. More... | |
svn_boolean_t | svn_wc_is_entry_prop (const char *name) |
Return TRUE iff name is a 'entry' property name. More... | |
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. More... | |
svn_error_t * | svn_wc_get_diff_editor6 (const svn_delta_editor_t **editor, void **edit_baton, svn_wc_context_t *wc_ctx, const char *anchor_abspath, const char *target, svn_depth_t depth, svn_boolean_t ignore_ancestry, svn_boolean_t show_copies_as_adds, svn_boolean_t use_git_diff_format, svn_boolean_t use_text_base, svn_boolean_t reverse_order, svn_boolean_t server_performs_filtering, const apr_array_header_t *changelist_filter, const svn_wc_diff_callbacks4_t *callbacks, void *callback_baton, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *result_pool, apr_pool_t *scratch_pool) |
DEPRECATED – please use APIs from svn_client.h. More... | |
svn_error_t * | svn_wc_get_diff_editor5 (svn_wc_adm_access_t *anchor, const char *target, const svn_wc_diff_callbacks3_t *callbacks, void *callback_baton, svn_depth_t depth, svn_boolean_t ignore_ancestry, svn_boolean_t use_text_base, svn_boolean_t reverse_order, svn_cancel_func_t cancel_func, void *cancel_baton, const apr_array_header_t *changelist_filter, const svn_delta_editor_t **editor, void **edit_baton, apr_pool_t *pool) |
Similar to svn_wc_get_diff_editor6(), but with an access baton and relative path. More... | |
svn_error_t * | svn_wc_get_diff_editor4 (svn_wc_adm_access_t *anchor, const char *target, const svn_wc_diff_callbacks2_t *callbacks, void *callback_baton, svn_depth_t depth, svn_boolean_t ignore_ancestry, svn_boolean_t use_text_base, svn_boolean_t reverse_order, svn_cancel_func_t cancel_func, void *cancel_baton, const apr_array_header_t *changelist_filter, const svn_delta_editor_t **editor, void **edit_baton, apr_pool_t *pool) |
Similar to svn_wc_get_diff_editor5(), but with an svn_wc_diff_callbacks2_t instead of svn_wc_diff_callbacks3_t. More... | |
svn_error_t * | svn_wc_get_diff_editor3 (svn_wc_adm_access_t *anchor, const char *target, const svn_wc_diff_callbacks2_t *callbacks, void *callback_baton, svn_boolean_t recurse, svn_boolean_t ignore_ancestry, svn_boolean_t use_text_base, svn_boolean_t reverse_order, svn_cancel_func_t cancel_func, void *cancel_baton, const svn_delta_editor_t **editor, void **edit_baton, apr_pool_t *pool) |
Similar to svn_wc_get_diff_editor4(), but with changelist_filter passed as NULL , and depth set to svn_depth_infinity if recurse is TRUE, or svn_depth_files if recurse is FALSE. More... | |
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. More... | |
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 . More... | |
svn_error_t * | svn_wc_diff6 (svn_wc_context_t *wc_ctx, const char *target_abspath, const svn_wc_diff_callbacks4_t *callbacks, void *callback_baton, svn_depth_t depth, svn_boolean_t ignore_ancestry, svn_boolean_t show_copies_as_adds, svn_boolean_t use_git_diff_format, const apr_array_header_t *changelist_filter, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *scratch_pool) |
Compare working copy against the text-base. More... | |
svn_error_t * | svn_wc_diff5 (svn_wc_adm_access_t *anchor, const char *target, const svn_wc_diff_callbacks3_t *callbacks, void *callback_baton, svn_depth_t depth, svn_boolean_t ignore_ancestry, const apr_array_header_t *changelist_filter, apr_pool_t *pool) |
Similar to svn_wc_diff6(), but with a svn_wc_diff_callbacks3_t argument instead of svn_wc_diff_callbacks4_t, show_copies_as_adds, and use_git_diff_format set to * FALSE . More... | |
svn_error_t * | svn_wc_diff4 (svn_wc_adm_access_t *anchor, const char *target, const svn_wc_diff_callbacks2_t *callbacks, void *callback_baton, svn_depth_t depth, svn_boolean_t ignore_ancestry, const apr_array_header_t *changelist_filter, apr_pool_t *pool) |
Similar to svn_wc_diff5(), but with a svn_wc_diff_callbacks2_t argument instead of svn_wc_diff_callbacks3_t. More... | |
svn_error_t * | svn_wc_diff3 (svn_wc_adm_access_t *anchor, const char *target, const svn_wc_diff_callbacks2_t *callbacks, void *callback_baton, svn_boolean_t recurse, svn_boolean_t ignore_ancestry, apr_pool_t *pool) |
Similar to svn_wc_diff4(), but with changelist_filter passed NULL , and depth set to svn_depth_infinity if recurse is TRUE, or svn_depth_files if recurse is FALSE. More... | |
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. More... | |
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 . More... | |
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. More... | |
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. More... | |
svn_error_t * | svn_wc_merge5 (enum svn_wc_merge_outcome_t *merge_content_outcome, enum svn_wc_notify_state_t *merge_props_state, 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, apr_hash_t *original_props, const apr_array_header_t *prop_diff, svn_wc_conflict_resolver_func2_t conflict_func, void *conflict_baton, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *scratch_pool) |
Given absolute paths to three fulltexts, merge the differences between left_abspath and right_abspath into target_abspath. More... | |
svn_error_t * | svn_wc_merge4 (enum svn_wc_merge_outcome_t *merge_outcome, svn_wc_context_t *wc_ctx, const char *left_abspath, const char *right_abspath, const char *target_abspath, const char *left_label, const char *right_label, const char *target_label, const svn_wc_conflict_version_t *left_version, const svn_wc_conflict_version_t *right_version, svn_boolean_t dry_run, const char *diff3_cmd, const apr_array_header_t *merge_options, const apr_array_header_t *prop_diff, svn_wc_conflict_resolver_func2_t conflict_func, void *conflict_baton, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *scratch_pool) |
Similar to svn_wc_merge5() but with merge_props_state and original_props always passed as NULL. More... | |
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. More... | |
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. More... | |
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. More... | |
svn_error_t * | svn_wc_merge_props3 (svn_wc_notify_state_t *state, svn_wc_context_t *wc_ctx, const char *local_abspath, const svn_wc_conflict_version_t *left_version, const svn_wc_conflict_version_t *right_version, apr_hash_t *baseprops, const apr_array_header_t *propchanges, svn_boolean_t dry_run, svn_wc_conflict_resolver_func2_t conflict_func, void *conflict_baton, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *scratch_pool) |
Given a local_abspath under version control, merge an array of propchanges into the path's existing properties. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
svn_error_t * | svn_wc_get_pristine_copy_path (const char *path, const char **pristine_path, apr_pool_t *pool) |
Set *pristine_path to the path of the "normal" pristine text file for the versioned file path. More... | |
svn_error_t * | svn_wc_cleanup4 (svn_wc_context_t *wc_ctx, const char *local_abspath, svn_boolean_t break_locks, svn_boolean_t fix_recorded_timestamps, svn_boolean_t clear_dav_cache, svn_boolean_t vacuum_pristines, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_notify_func2_t notify_func, void *notify_baton, apr_pool_t *scratch_pool) |
Recurse from local_abspath, cleaning up unfinished tasks. More... | |
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) |
Similar to svn_wc_cleanup4() but will always break locks, fix recorded timestamps, clear the dav cache and vacuum pristines. More... | |
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 svn_wc_context_t. More... | |
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(). More... | |
svn_error_t * | svn_wc_upgrade (svn_wc_context_t *wc_ctx, const char *local_abspath, svn_wc_upgrade_get_repos_info_t repos_info_func, void *repos_info_baton, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_notify_func2_t notify_func, void *notify_baton, apr_pool_t *scratch_pool) |
Upgrade the working copy at local_abspath to the latest metadata storage format. More... | |
svn_error_t * | svn_wc_relocate4 (svn_wc_context_t *wc_ctx, const char *wcroot_abspath, const char *from, const char *to, svn_wc_relocation_validator3_t validator, void *validator_baton, apr_pool_t *scratch_pool) |
Recursively change repository references at wcroot_abspath (which is the root directory of a working copy). More... | |
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. More... | |
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. More... | |
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. More... | |
svn_error_t * | svn_wc_revert6 (svn_wc_context_t *wc_ctx, const char *local_abspath, svn_depth_t depth, svn_boolean_t use_commit_times, const apr_array_header_t *changelist_filter, svn_boolean_t clear_changelists, svn_boolean_t metadata_only, svn_boolean_t added_keep_local, 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. More... | |
svn_error_t * | svn_wc_revert5 (svn_wc_context_t *wc_ctx, const char *local_abspath, svn_depth_t depth, svn_boolean_t use_commit_times, const apr_array_header_t *changelist_filter, svn_boolean_t clear_changelists, svn_boolean_t metadata_only, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_notify_func2_t notify_func, void *notify_baton, apr_pool_t *scratch_pool) |
Similar to svn_wc_revert6() but with added_keep_local always set to TRUE. More... | |
svn_error_t * | svn_wc_revert4 (svn_wc_context_t *wc_ctx, const char *local_abspath, svn_depth_t depth, svn_boolean_t use_commit_times, const apr_array_header_t *changelist_filter, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_notify_func2_t notify_func, void *notify_baton, apr_pool_t *scratch_pool) |
Similar to svn_wc_revert5() but with clear_changelists always set to FALSE and metadata_only set to FALSE. More... | |
svn_error_t * | svn_wc_revert3 (const char *path, svn_wc_adm_access_t *parent_access, svn_depth_t depth, svn_boolean_t use_commit_times, const apr_array_header_t *changelist_filter, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_notify_func2_t notify_func, void *notify_baton, apr_pool_t *pool) |
Similar to svn_wc_revert4() but takes a relative path and access baton. More... | |
svn_error_t * | svn_wc_revert2 (const char *path, svn_wc_adm_access_t *parent_access, svn_boolean_t recursive, svn_boolean_t use_commit_times, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_notify_func2_t notify_func, void *notify_baton, apr_pool_t *pool) |
Similar to svn_wc_revert3(), but with changelist_filter passed as NULL , and depth set according to recursive: if recursive is TRUE, depth is svn_depth_infinity; if FALSE, depth is svn_depth_empty. More... | |
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. More... | |
svn_error_t * | svn_wc_restore (svn_wc_context_t *wc_ctx, const char *local_abspath, svn_boolean_t use_commit_times, apr_pool_t *scratch_pool) |
Restores a missing node, local_abspath using the wc_ctx. More... | |
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. More... | |
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. More... | |
svn_error_t * | svn_wc_translated_file2 (const char **xlated_path, const char *src, const char *versioned_file, svn_wc_adm_access_t *adm_access, apr_uint32_t flags, apr_pool_t *pool) |
Set xlated_path to a translated copy of src or to src itself if no translation is necessary. More... | |
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. More... | |
svn_error_t * | svn_wc_translated_stream (svn_stream_t **stream, const char *path, const char *versioned_file, svn_wc_adm_access_t *adm_access, apr_uint32_t flags, apr_pool_t *pool) |
Returns a stream allocated in pool with access to the given path taking the file properties from versioned_file using adm_access. More... | |
svn_error_t * | svn_wc_transmit_text_deltas3 (const svn_checksum_t **new_text_base_md5_checksum, const svn_checksum_t **new_text_base_sha1_checksum, svn_wc_context_t *wc_ctx, const char *local_abspath, svn_boolean_t fulltext, const svn_delta_editor_t *editor, void *file_baton, apr_pool_t *result_pool, apr_pool_t *scratch_pool) |
Send the local modifications for versioned file local_abspath (with matching file_baton) through editor, then close file_baton afterwards. More... | |
svn_error_t * | svn_wc_transmit_text_deltas2 (const char **tempfile, unsigned char digest[], const char *path, svn_wc_adm_access_t *adm_access, svn_boolean_t fulltext, const svn_delta_editor_t *editor, void *file_baton, apr_pool_t *pool) |
Similar to svn_wc_transmit_text_deltas3(), but with a relative path and adm_access baton, and the checksum output is an MD5 digest instead of two svn_checksum_t objects. More... | |
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. More... | |
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). More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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"). More... | |
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. More... | |
svn_error_t * | svn_wc_set_changelist2 (svn_wc_context_t *wc_ctx, const char *local_abspath, const char *changelist, svn_depth_t depth, const apr_array_header_t *changelist_filter, svn_cancel_func_t cancel_func, void *cancel_baton, svn_wc_notify_func2_t notify_func, void *notify_baton, apr_pool_t *scratch_pool) |
Set local_abspath's 'changelist' attribute to changelist iff changelist is not NULL ; otherwise, remove any current changelist assignment from local_abspath. More... | |
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. More... | |
svn_error_t * | svn_wc_get_changelists (svn_wc_context_t *wc_ctx, const char *local_abspath, svn_depth_t depth, const apr_array_header_t *changelist_filter, svn_changelist_receiver_t callback_func, void *callback_baton, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *scratch_pool) |
Beginning at local_abspath, crawl to depth to discover every path in or under local_abspath which belongs to one of the changelists in changelist_filter (an array of const char * changelist names). More... | |
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. More... | |
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. More... | |
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. More... | |
svn_error_t * | svn_wc_read_kind2 (svn_node_kind_t *kind, svn_wc_context_t *wc_ctx, const char *local_abspath, svn_boolean_t show_deleted, svn_boolean_t show_hidden, apr_pool_t *scratch_pool) |
Set kind to the svn_node_kind_t of abspath. More... | |
svn_error_t * | svn_wc_read_kind (svn_node_kind_t *kind, svn_wc_context_t *wc_ctx, const char *abspath, svn_boolean_t show_hidden, apr_pool_t *scratch_pool) |
Similar to svn_wc_read_kind2() but with show_deleted always passed as TRUE. More... | |
Subversion's working copy library.
Definition in file svn_wc.h.
svn_error_t* svn_wc_read_kind | ( | svn_node_kind_t * | kind, |
svn_wc_context_t * | wc_ctx, | ||
const char * | abspath, | ||
svn_boolean_t | show_hidden, | ||
apr_pool_t * | scratch_pool | ||
) |
Similar to svn_wc_read_kind2() but with show_deleted always passed as TRUE.
svn_error_t* svn_wc_read_kind2 | ( | svn_node_kind_t * | kind, |
svn_wc_context_t * | wc_ctx, | ||
const char * | local_abspath, | ||
svn_boolean_t | show_deleted, | ||
svn_boolean_t | show_hidden, | ||
apr_pool_t * | scratch_pool | ||
) |
Set kind to the svn_node_kind_t of abspath.
Use wc_ctx to access the working copy, and scratch_pool for all temporary allocations.
If abspath is not under version control, set kind to svn_node_none.
If show_hidden and show_deleted are both FALSE
, the kind of scheduled for delete, administrative only 'not present' and excluded nodes is reported as svn_node_none. This is recommended as a check for 'is there a versioned file or directory here?'
If show_deleted is FALSE, but show_hidden is TRUE
then only scheduled for delete and administrative only 'not present' nodes are reported as svn_node_none. This is recommended as check for 'Can I add a node here?'
If show_deleted is TRUE, but show_hidden is FALSE, then only administrative only 'not present' nodes and excluded nodes are reported as svn_node_none. This behavior is the behavior bescribed as 'hidden' before Subversion 1.7.
If show_hidden and show_deleted are both TRUE
all nodes are reported.
const svn_version_t* svn_wc_version | ( | void | ) |
Get libsvn_wc version information.