⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 svn_client.h

📁 subversion-1.4.3-1.tar.gz 配置svn的源码
💻 H
📖 第 1 页 / 共 5 页
字号:
 *  * @a diff_options (an array of <tt>const char *</tt>) is used to pass  * additional command line options to the diff processes invoked to compare * files. * * The authentication baton cached in @a ctx is used to communicate with  * the repository. * * @note @a header_encoding doesn't affect headers generated by external * diff programs. * * @since New in 1.3. */svn_error_t *svn_client_diff3(const apr_array_header_t *diff_options,                              const char *path1,                              const svn_opt_revision_t *revision1,                              const char *path2,                              const svn_opt_revision_t *revision2,                              svn_boolean_t recurse,                              svn_boolean_t ignore_ancestry,                              svn_boolean_t no_diff_deleted,                              svn_boolean_t ignore_content_type,                              const char *header_encoding,                              apr_file_t *outfile,                              apr_file_t *errfile,                              svn_client_ctx_t *ctx,                              apr_pool_t *pool);/** * Similar to svn_client_diff3(), but with @a header_encoding set to * @c APR_LOCALE_CHARSET. * * @deprecated Provided for backward compatibility with the 1.2 API. * * @since New in 1.2. */svn_error_t *svn_client_diff2(const apr_array_header_t *diff_options,                              const char *path1,                              const svn_opt_revision_t *revision1,                              const char *path2,                              const svn_opt_revision_t *revision2,                              svn_boolean_t recurse,                              svn_boolean_t ignore_ancestry,                              svn_boolean_t no_diff_deleted,                              svn_boolean_t ignore_content_type,                              apr_file_t *outfile,                              apr_file_t *errfile,                              svn_client_ctx_t *ctx,                              apr_pool_t *pool);/** * Similar to svn_client_diff2(), but with the @a ignore_content_type * parameter always set to @c FALSE. * * @deprecated Provided for backward compatibility with the 1.0 API. */svn_error_t *svn_client_diff(const apr_array_header_t *diff_options,                             const char *path1,                             const svn_opt_revision_t *revision1,                             const char *path2,                             const svn_opt_revision_t *revision2,                             svn_boolean_t recurse,                             svn_boolean_t ignore_ancestry,                             svn_boolean_t no_diff_deleted,                             apr_file_t *outfile,                             apr_file_t *errfile,                             svn_client_ctx_t *ctx,                             apr_pool_t *pool);/** * Produce diff output which describes the delta between the * filesystem object @a path in peg revision @a peg_revision, as it * changed between @a start_revision and @a end_revision.  @a path can * be either a working-copy path or URL. * * If @a peg_revision is @c svn_opt_revision_unspecified, behave * identically to svn_client_diff3(), using @a path for both of that * function's @a path1 and @a path2 argments. * * All other options are handled identically to svn_client_diff3(). * * @since New in 1.3. */svn_error_t *svn_client_diff_peg3(const apr_array_header_t *diff_options,                                  const char *path,                                  const svn_opt_revision_t *peg_revision,                                  const svn_opt_revision_t *start_revision,                                  const svn_opt_revision_t *end_revision,                                  svn_boolean_t recurse,                                  svn_boolean_t ignore_ancestry,                                  svn_boolean_t no_diff_deleted,                                  svn_boolean_t ignore_content_type,                                  const char *header_encoding,                                  apr_file_t *outfile,                                  apr_file_t *errfile,                                  svn_client_ctx_t *ctx,                                  apr_pool_t *pool);/** * Similar to svn_client_diff_peg3(), but with @a header_encoding set to * @c APR_LOCALE_CHARSET. * * @deprecated Provided for backward compatibility with the 1.2 API. * * @since New in 1.2. */svn_error_t *svn_client_diff_peg2(const apr_array_header_t *diff_options,                                  const char *path,                                  const svn_opt_revision_t *peg_revision,                                  const svn_opt_revision_t *start_revision,                                  const svn_opt_revision_t *end_revision,                                  svn_boolean_t recurse,                                  svn_boolean_t ignore_ancestry,                                  svn_boolean_t no_diff_deleted,                                  svn_boolean_t ignore_content_type,                                  apr_file_t *outfile,                                  apr_file_t *errfile,                                  svn_client_ctx_t *ctx,                                  apr_pool_t *pool);/** * Similar to svn_client_diff_peg2(), but with the @a ignore_content_type * parameter always set to @c FALSE. * * @since New in 1.1. * @deprecated Provided for backward compatibility with the 1.1 API. */svn_error_t *svn_client_diff_peg(const apr_array_header_t *diff_options,                                 const char *path,                                 const svn_opt_revision_t *peg_revision,                                 const svn_opt_revision_t *start_revision,                                 const svn_opt_revision_t *end_revision,                                 svn_boolean_t recurse,                                 svn_boolean_t ignore_ancestry,                                 svn_boolean_t no_diff_deleted,                                 apr_file_t *outfile,                                 apr_file_t *errfile,                                 svn_client_ctx_t *ctx,                                 apr_pool_t *pool);/** * Produce a diff summary which lists the changed items between * @a path1/@a revision1 and @a path2/@a revision2 without creating text * deltas. @a path1 and @a path2 can be either working-copy paths or URLs. * * The function may report false positives if @a ignore_ancestry is false, * since a file might have been modified between two revisions, but still * have the same contents. * * Calls @a summarize_func with @a summarize_baton for each difference * with a @c svn_client_diff_summarize_t structure describing the difference. * * See svn_client_diff3() for a description of the other parameters. * * @since New in 1.4. */svn_error_t *svn_client_diff_summarize(const char *path1,                          const svn_opt_revision_t *revision1,                          const char *path2,                          const svn_opt_revision_t *revision2,                          svn_boolean_t recurse,                          svn_boolean_t ignore_ancestry,                          svn_client_diff_summarize_func_t summarize_func,                          void *summarize_baton,                          svn_client_ctx_t *ctx,                          apr_pool_t *pool);/** * Produce a diff summary which lists the changed items between the * filesystem object @a path in peg revision @a peg_revision, as it * changed between @a start_revision and @a end_revision. @a path can * be either a working-copy path or URL. * * If @a peg_revision is @c svn_opt_revision_unspecified, behave * identically to svn_client_diff_summarize(), using @a path for both * of that function's @a path1 and @a path2 argments. * * The function may report false positives if @a ignore_ancestry is false, * as described in the documentation for svn_client_diff_summarize(). * * Call @a summarize_func with @a summarize_baton for each difference * with a @c svn_client_diff_summarize_t structure describing the difference. * * See svn_client_diff_peg3() for a description of the other parameters. * * @since New in 1.4. */svn_error_t *svn_client_diff_summarize_peg(const char *path,                              const svn_opt_revision_t *peg_revision,                              const svn_opt_revision_t *start_revision,                              const svn_opt_revision_t *end_revision,                              svn_boolean_t recurse,                              svn_boolean_t ignore_ancestry,                              svn_client_diff_summarize_func_t summarize_func,                              void *summarize_baton,                              svn_client_ctx_t *ctx,                              apr_pool_t *pool);/** Merge changes from @a source1/@a revision1 to @a source2/@a revision2 into  * the working-copy path @a target_wcpath. * * @a source1 and @a source2 are either URLs that refer to entries in the  * repository, or paths to entries in the working copy. * * By "merging", we mean:  apply file differences using * svn_wc_merge(), and schedule additions & deletions when appropriate. * * @a source1 and @a source2 must both represent the same node kind -- that  * is, if @a source1 is a directory, @a source2 must also be, and if @a source1  * is a file, @a source2 must also be. * * If either @a revision1 or @a revision2 has an `unspecified' or * unrecognized `kind', return @c SVN_ERR_CLIENT_BAD_REVISION. * * If @a recurse is true (and the URLs are directories), apply changes * recursively; otherwise, only apply changes in the current * directory. * * Use @a ignore_ancestry to control whether or not items being * diffed will be checked for relatedness first.  Unrelated items * are typically transmitted to the editor as a deletion of one thing * and the addition of another, but if this flag is @c TRUE, * unrelated items will be diffed as if they were related. * * If @a force is not set and the merge involves deleting locally modified or * unversioned items the operation will fail.  If @a force is set such items * will be deleted. * * @a merge_options (an array of <tt>const char *</tt>), if non-null, * is used to pass additional command line arguments to the merge * processes (internal or external).  @see * svn_diff_file_options_parse(). * * If @a ctx->notify_func2 is non-null, then call @a ctx->notify_func2 with @a  * ctx->notify_baton2 once for each merged target, passing the target's local  * path. * * If @a dry_run is @a true the merge is carried out, and full notification * feedback is provided, but the working copy is not modified. * * The authentication baton cached in @a ctx is used to communicate with the  * repository. * * @since New in 1.4. */svn_error_t *svn_client_merge2(const char *source1,                  const svn_opt_revision_t *revision1,                  const char *source2,                  const svn_opt_revision_t *revision2,                  const char *target_wcpath,                  svn_boolean_t recurse,                  svn_boolean_t ignore_ancestry,                  svn_boolean_t force,                  svn_boolean_t dry_run,                  const apr_array_header_t *merge_options,                  svn_client_ctx_t *ctx,                  apr_pool_t *pool);/** Similar to svn_client_merge2(), but with @a merge_options set to @c NULL. * * @deprecated Provided for backwards compatibility with the 1.3 API. */svn_error_t *svn_client_merge(const char *source1,                 const svn_opt_revision_t *revision1,                 const char *source2,                 const svn_opt_revision_t *revision2,                 const char *target_wcpath,                 svn_boolean_t recurse,                 svn_boolean_t ignore_ancestry,                 svn_boolean_t force,                 svn_boolean_t dry_run,                 svn_client_ctx_t *ctx,                 apr_pool_t *pool);/** * Merge the changes between the filesystem object @a source in peg * revision @a peg_revision, as it changed between @a revision1 and @a * revision2.   * * All other options are handled identically to svn_client_merge(). * * @since New in 1.4. */svn_error_t *svn_client_merge_peg2(const char *source,                      const svn_opt_revision_t *revision1,                      const svn_opt_revision_t *revision2,                      const svn_opt_revision_t *peg_revision,                      const char *target_wcpath,                      svn_boolean_t recurse,                      svn_boolean_t ignore_ancestry,                      svn_boolean_t force,                      svn_boolean_t dry_run,                      const apr_array_header_t *merge_options,                      svn_client_ctx_t *ctx,                      apr_pool_t *pool);/** Similar to svn_client_merge_peg2(), but with @a merge_options set to * @c NULL. * * @deprecated Provided for backwards compatibility with the 1.3 API. * * @since New in 1.1. */svn_error_t *svn_client_merge_peg(const char *source,                     const svn_opt_revision_t *revision1,                     const svn_opt_revision_t *revision2,                     const svn_opt_revision_t *peg_revision,                     const char *target_wcpath,                     svn_boolean_t recurse,                     svn_boolean_t ignore_ancestry,                     svn_boolean_t force,                     svn_boolean_t dry_run,                     svn_client_ctx_t *ctx,                     apr_pool_t *pool);/** Recursively cleanup a working copy directory @a dir, finishing any * incomplete operations, removing lockfiles, etc. * * If @a ctx->cancel_func is non-null, invoke it with @a * ctx->cancel_baton at various points during the operation.  If it * returns an error (typically SVN_ERR_CANCELLED), return that error * immediately. */svn_error_t *svn_client_cleanup(const char *dir,                   svn_client_ctx_t *ctx,                   apr_pool_t *pool);/** * Modify a working copy directory @a dir, changing any * repository URLs that begin with @a from to begin with @a to instead, * recursing into subdirectories if @a recurse is true. * * @param dir Wor

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -