Alien-SVN
view release on metacpan or search on metacpan
src/subversion/subversion/include/svn_client.h view on Meta::CPAN
* doesn't read a working copy at all; it's a pure network operation
* that reads *unversioned* properties attached to a revision.
*/
svn_error_t *
svn_client_revprop_list(apr_hash_t **props,
const char *URL,
const svn_opt_revision_t *revision,
svn_revnum_t *set_rev,
svn_client_ctx_t *ctx,
apr_pool_t *pool);
/** @} */
/**
* @defgroup Export Export a tree from version control.
*
* @{
*/
/**
* Export the contents of either a subversion repository or a
* subversion working copy into a 'clean' directory (meaning a
* directory with no administrative directories). If @a result_rev
* is not @c NULL and the path being exported is a repository URL, set
* @a *result_rev to the value of the revision actually exported (set
* it to #SVN_INVALID_REVNUM for local exports).
*
* @a from_path_or_url is either the path the working copy on disk, or
* a URL to the repository you wish to export.
*
* When exporting a directory, @a to_path is the path to the directory
* where you wish to create the exported tree; when exporting a file, it
* is the path of the file that will be created. If @a to_path is the
* empty path, then the basename of the export file/directory in the repository
* will be used. If @a to_path represents an existing directory, and a
* file is being exported, then a file with the that basename will be
* created under that directory (as with 'copy' operations).
*
* @a peg_revision is the revision where the path is first looked up
* when exporting from a repository. If @a peg_revision->kind is
* #svn_opt_revision_unspecified, then it defaults to #svn_opt_revision_head
* for URLs or #svn_opt_revision_working for WC targets.
*
* @a revision is the revision that should be exported, which is only used
* when exporting from a repository.
*
* @a peg_revision and @a revision must not be @c NULL.
*
* @a ctx->notify_func2 and @a ctx->notify_baton2 are the notification
* functions and baton which are passed to svn_client_checkout() when
* exporting from a repository.
*
* @a ctx is a context used for authentication in the repository case.
*
* @a overwrite if TRUE will cause the export to overwrite files or
* directories.
*
* If @a ignore_externals is set, don't process externals definitions
* as part of this operation.
*
* If @a ignore_keywords is set, don't expand keywords as part of this
* operation.
*
* @a native_eol allows you to override the standard eol marker on the
* platform you are running on. Can be either "LF", "CR" or "CRLF" or
* NULL. If NULL will use the standard eol marker. Any other value
* will cause the #SVN_ERR_IO_UNKNOWN_EOL error to be returned.
*
* If @a depth is #svn_depth_infinity, export fully recursively. Else
* if it is #svn_depth_immediates, export @a from_path_or_url and its
* immediate children (if any), but with subdirectories empty and at
* #svn_depth_empty. Else if #svn_depth_files, export @a
* from_path_or_url and its immediate file children (if any) only. If
* @a depth is #svn_depth_empty, then export exactly @a
* from_path_or_url and none of its children.
*
* All allocations are done in @a pool.
*
* @since New in 1.7.
*/
svn_error_t *
svn_client_export5(svn_revnum_t *result_rev,
const char *from_path_or_url,
const char *to_path,
const svn_opt_revision_t *peg_revision,
const svn_opt_revision_t *revision,
svn_boolean_t overwrite,
svn_boolean_t ignore_externals,
svn_boolean_t ignore_keywords,
svn_depth_t depth,
const char *native_eol,
svn_client_ctx_t *ctx,
apr_pool_t *pool);
/**
* Similar to svn_client_export5(), but with @a ignore_keywords set
* to FALSE.
*
* @deprecated Provided for backward compatibility with the 1.6 API.
* @since New in 1.5.
*/
SVN_DEPRECATED
svn_error_t *
svn_client_export4(svn_revnum_t *result_rev,
const char *from_path_or_url,
const char *to_path,
const svn_opt_revision_t *peg_revision,
const svn_opt_revision_t *revision,
svn_boolean_t overwrite,
svn_boolean_t ignore_externals,
svn_depth_t depth,
const char *native_eol,
svn_client_ctx_t *ctx,
apr_pool_t *pool);
/**
* Similar to svn_client_export4(), but with @a depth set according to
* @a recurse: if @a recurse is TRUE, set @a depth to
* #svn_depth_infinity, if @a recurse is FALSE, set @a depth to
* #svn_depth_files.
( run in 0.566 second using v1.01-cache-2.11-cpan-5b529ec07f3 )