Functions | |
svn_error_t * | svn_client_export4 (svn_revnum_t *result_rev, const char *from, const char *to, 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) |
Export the contents of either a subversion repository or a subversion working copy into a 'clean' directory (meaning a directory with no administrative directories). | |
svn_error_t * | svn_client_export3 (svn_revnum_t *result_rev, const char *from, const char *to, 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 recurse, const char *native_eol, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Similar to svn_client_export4(), but with depth set according to recurse: if recurse is TRUE, set depth to svn_depth_infinity , if recurse is FALSE, set depth to svn_depth_files . | |
svn_error_t * | svn_client_export2 (svn_revnum_t *result_rev, const char *from, const char *to, svn_opt_revision_t *revision, svn_boolean_t force, const char *native_eol, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Similar to svn_client_export3(), but with peg_revision always set to svn_opt_revision_unspecified , overwrite set to the value of force, ignore_externals always FALSE, and recurse always TRUE. | |
svn_error_t * | svn_client_export (svn_revnum_t *result_rev, const char *from, const char *to, svn_opt_revision_t *revision, svn_boolean_t force, svn_client_ctx_t *ctx, apr_pool_t *pool) |
Similar to svn_client_export2(), but with native_eol always set to NULL. |
|
Similar to svn_client_export2(), but with native_eol always set to NULL.
|
|
Similar to svn_client_export3(), but with peg_revision always set to
|
|
Similar to svn_client_export4(), but with depth set according to recurse: if recurse is TRUE, set depth to
|
|
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 result_rev is not from is either the path the working copy on disk, or a URL to the repository you wish to export. to is the path to the directory where you wish to create the exported tree.
peg_revision is the revision where the path is first looked up when exporting from a repository. If peg_revision->kind is revision is the revision that should be exported, which is only used when exporting from a repository. ctx->notify_func2 and ctx->notify_baton2 are the notification functions and baton which are passed to svn_client_checkout() when exporting from a repository. ctx is a context used for authentication in the repository case. overwrite if TRUE will cause the export to overwrite files or directories. If ignore_externals is set, don't process externals definitions as part of this operation. 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 depth is If recurse is TRUE, export recursively. Otherwise, export just the directory represented by from and its immediate non-directory children, but none of its child directories (if any). Also, if recurse is FALSE, the export will behave as if ignore_externals is TRUE. All allocations are done in pool.
|