[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r26888 - in trunk/subversion: bindings/swig/ruby/libsvn_swig_ruby include libsvn_client libsvn_ra libsvn_ra_svn libsvn_repos libsvn_wc svn svnserve

From: David Glasser <glasser_at_davidglasser.net>
Date: 2007-10-13 20:20:20 CEST

I noticed that there is still a lot of custom DEPTH_TO_RECURSE in
libsvn_ra_svn/client.c. Is this OK?

--dave

On 10/1/07, kfogel@tigris.org <kfogel@tigris.org> wrote:
> Author: kfogel
> Date: Mon Oct 1 22:21:40 2007
> New Revision: 26888
>
> Log:
> Change names of depth<->recurse conversion macros, update documentation.
> Part of issue #2951.
>
> * subversion/include/svn_types.h
> (SVN_DEPTH_INFINITY_OR_FILES,
> SVN_DEPTH_INFINITY_OR_EMPTY,
> SVN_DEPTH_INFINITY_OR_IMMEDIATES,
> SVN_DEPTH_IS_RECURSIVE): Replace SVN_DEPTH_FROM_RECURSE,
> SVN_DEPTH_FROM_RECURSE_STATUS,
> SVN_DEPTH_TO_RECURSE,
> or inline code...
>
> ..everywhere, as appropriate.
>
> * subversion/include/svn_ra.h
> (svn_ra_do_update, svn_ra_do_switch, svn_ra_do_status, svn_ra_do_diff2):
> Document previously undocumented conversion of recurse to depth,
> mainly so it's clear that 'status' is exceptional.
>
> * subversion/include/svn_client.h
> (svn_client_status2, svn_client_info, svn_client_propset2,
> svn_client_propget3): Fix documentation of how recurse converts to depth.
>
> * subversion/include/svn_wc.h
> (svn_wc_get_status_editor2): Same.
>
>
> Modified:
> trunk/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c
> trunk/subversion/include/svn_client.h
> trunk/subversion/include/svn_ra.h
> trunk/subversion/include/svn_types.h
> trunk/subversion/include/svn_wc.h
> trunk/subversion/libsvn_client/add.c
> trunk/subversion/libsvn_client/checkout.c
> trunk/subversion/libsvn_client/commit.c
> trunk/subversion/libsvn_client/copy.c
> trunk/subversion/libsvn_client/diff.c
> trunk/subversion/libsvn_client/export.c
> trunk/subversion/libsvn_client/externals.c
> trunk/subversion/libsvn_client/info.c
> trunk/subversion/libsvn_client/list.c
> trunk/subversion/libsvn_client/merge.c
> trunk/subversion/libsvn_client/prop_commands.c
> trunk/subversion/libsvn_client/status.c
> trunk/subversion/libsvn_client/switch.c
> trunk/subversion/libsvn_client/update.c
> trunk/subversion/libsvn_ra/ra_loader.c
> trunk/subversion/libsvn_ra/wrapper_template.h
> trunk/subversion/libsvn_ra_svn/client.c
> trunk/subversion/libsvn_repos/delta.c
> trunk/subversion/libsvn_repos/reporter.c
> trunk/subversion/libsvn_wc/adm_crawler.c
> trunk/subversion/libsvn_wc/diff.c
> trunk/subversion/libsvn_wc/status.c
> trunk/subversion/libsvn_wc/update_editor.c
> trunk/subversion/svn/main.c
> trunk/subversion/svn/propdel-cmd.c
> trunk/subversion/svn/propget-cmd.c
> trunk/subversion/svn/propset-cmd.c
> trunk/subversion/svn/revert-cmd.c
> trunk/subversion/svn/switch-cmd.c
> trunk/subversion/svnserve/serve.c
>
> Modified: trunk/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c?pathrev=26888&r1=26887&r2=26888
> ==============================================================================
> --- trunk/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c (original)
> +++ trunk/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c Mon Oct 1 22:21:40 2007
> @@ -853,9 +853,9 @@
> if (NIL_P(value)) {
> return svn_depth_infinity;
> } else if (value == Qtrue) {
> - return SVN_DEPTH_FROM_RECURSE(TRUE);
> + return SVN_DEPTH_INFINITY_OR_FILES(TRUE);
> } else if (value == Qfalse) {
> - return SVN_DEPTH_FROM_RECURSE(FALSE);
> + return SVN_DEPTH_INFINITY_OR_FILES(FALSE);
> } else if (RTEST(rb_obj_is_kind_of(value, rb_cString)) ||
> RTEST(rb_obj_is_kind_of(value, rb_cSymbol))) {
> value = rb_funcall(value, id_to_s, 0);
>
> Modified: trunk/subversion/include/svn_client.h
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/include/svn_client.h?pathrev=26888&r1=26887&r2=26888
> ==============================================================================
> --- trunk/subversion/include/svn_client.h (original)
> +++ trunk/subversion/include/svn_client.h Mon Oct 1 22:21:40 2007
> @@ -1688,7 +1688,7 @@
> /**
> * Like svn_client_status3(), except with @a recurse instead of @a depth.
> * If @a recurse is true, behave as if for @c svn_depth_infinity; else
> - * if @a recurse is false, behave as if for @c svn_depth_files.
> + * if @a recurse is false, behave as if for @c svn_depth_immediates.
> *
> * @since New in 1.2.
> * @deprecated Provided for backward compatibility with the 1.4 API.
> @@ -3113,7 +3113,7 @@
> * Like svn_client_propset3(), but with @a base_revision_for_url
> * always @c SVN_INVALID_REVNUM; @a commit_info_p always NULL; and
> * @a depth set according to @a recurse: if @a recurse is true,
> - * @a depth is @c svn_depth_infinity, else @c svn_depth_files.
> + * @a depth is @c svn_depth_infinity, else @c svn_depth_empty.
> *
> * @deprecated Provided for backward compatibility with the 1.4 API.
> */
> @@ -3218,7 +3218,7 @@
> /**
> * Similar to svn_client_propget4(), but with @a depth set according
> * to @a recurse: if @a recurse is true, then @a depth is
> - * @c svn_depth_infinity, else @c svn_depth_files.
> + * @c svn_depth_infinity, else @c svn_depth_empty.
> *
> * @deprecated Provided for backward compatibility with the 1.4 API.
> */
> @@ -4067,7 +4067,7 @@
> /*
> * Similar to svn_client_info2() but with @a depth set according to
> * @a recurse: if @a recurse is true, @a depth is @c svn_depth_infinity,
> - * else @c svn_depth_files.
> + * else @c svn_depth_empty.
> *
> * @deprecated Provided for backward compatibility with the 1.2 API.
> */
>
> Modified: trunk/subversion/include/svn_ra.h
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/include/svn_ra.h?pathrev=26888&r1=26887&r2=26888
> ==============================================================================
> --- trunk/subversion/include/svn_ra.h (original)
> +++ trunk/subversion/include/svn_ra.h Mon Oct 1 22:21:40 2007
> @@ -862,7 +862,8 @@
>
> /**
> * Similar to svn_ra_do_update2(), but taking @c svn_ra_reporter2_t
> - * instead of @c svn_ra_reporter3_t.
> + * instead of @c svn_ra_reporter3_t. If @a recurse is true, pass
> + * @c svn_depth_infinity for @a depth, else pass @c svn_depth_files.
> *
> * @deprecated Provided for compatibility with the 1.4 API.
> */
> @@ -933,7 +934,9 @@
> /**
> * Similar to svn_ra_do_switch2(), but taking @c svn_ra_reporter2_t
> * instead of @c svn_ra_reporter3_t, and therefore only able to report
> - * @c svn_depth_infinity for depths.
> + * @c svn_depth_infinity for depths. The switch itself is performed
> + * according to @a recurse: if true, then use @c svn_depth_infinity
> + * for @a depth, else use @c svn_depth_files.
> *
> * @deprecated Provided for compatibility with the 1.4 API.
> */
> @@ -1000,7 +1003,9 @@
> /**
> * Similar to svn_ra_do_status2(), but taking @c svn_ra_reporter2_t
> * instead of @c svn_ra_reporter3_t, and therefore only able to report
> - * @c svn_depth_infinity for depths.
> + * @c svn_depth_infinity for depths. The status operation itself is
> + * performed according to @a recurse: if true, then @a depth is
> + * @c svn_depth_infinity, else it is @c svn_depth_immediates.
> *
> * @deprecated Provided for compatibility with the 1.4 API.
> */
> @@ -1087,7 +1092,9 @@
> /**
> * Similar to svn_ra_do_diff3(), but taking @c svn_ra_reporter2_t
> * instead of @c svn_ra_reporter3_t, and therefore only able to report
> - * @c svn_depth_infinity for depths.
> + * @c svn_depth_infinity for depths. Perform the diff according to
> + * @a recurse: if true, then @a depth is @c svn_depth_infinity, else
> + * it is @c svn_depth_files.
> *
> * @deprecated Provided for compatibility with the 1.4 API.
> */
>
> Modified: trunk/subversion/include/svn_types.h
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/include/svn_types.h?pathrev=26888&r1=26887&r2=26888
> ==============================================================================
> --- trunk/subversion/include/svn_types.h (original)
> +++ trunk/subversion/include/svn_types.h Mon Oct 1 22:21:40 2007
> @@ -313,30 +313,42 @@
> svn_depth_from_word(const char *word);
>
>
> -/* Return an @c svn_depth_t depth based on boolean @a recurse.
> +/* Return @c svn_depth_infinity if boolean @a recurse is true, else
> + * return @c svn_depth_files.
> *
> * @note New code should never need to use this, it is called only
> * from pre-depth APIs, for compatibility.
> *
> * @since New in 1.5.
> */
> -#define SVN_DEPTH_FROM_RECURSE(recurse) \
> +#define SVN_DEPTH_INFINITY_OR_FILES(recurse) \
> ((recurse) ? svn_depth_infinity : svn_depth_files)
>
>
> -/* Return an @c svn_depth_t depth based on boolean @a recurse.
> - * Use this only for the status command, as it has a unique interpretation
> - * of recursion.
> +/* Return @c svn_depth_infinity if boolean @a recurse is true, else
> + * return @c svn_depth_immediates.
> *
> * @note New code should never need to use this, it is called only
> * from pre-depth APIs, for compatibility.
> *
> * @since New in 1.5.
> */
> -#define SVN_DEPTH_FROM_RECURSE_STATUS(recurse) \
> +#define SVN_DEPTH_INFINITY_OR_IMMEDIATES(recurse) \
> ((recurse) ? svn_depth_infinity : svn_depth_immediates)
>
>
> +/* Return @c svn_depth_infinity if boolean @a recurse is true, else
> + * return @c svn_depth_empty.
> + *
> + * @note New code should never need to use this, it is called only
> + * from pre-depth APIs, for compatibility.
> + *
> + * @since New in 1.5.
> + */
> +#define SVN_DEPTH_INFINITY_OR_EMPTY(recurse) \
> + ((recurse) ? svn_depth_infinity : svn_depth_empty)
> +
> +
> /* Return a recursion boolean based on @a depth.
> *
> * Although much code has been converted to use depth, some code still
> @@ -344,7 +356,7 @@
> * unknown or infinite depth as recursive, and any other depth as
> * non-recursive (which in turn usually translates to @c svn_depth_files).
> */
> -#define SVN_DEPTH_TO_RECURSE(depth) \
> +#define SVN_DEPTH_IS_RECURSIVE(depth) \
> (((depth) == svn_depth_infinity || (depth) == svn_depth_unknown) \
> ? TRUE : FALSE)
>
>
> Modified: trunk/subversion/include/svn_wc.h
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/include/svn_wc.h?pathrev=26888&r1=26887&r2=26888
> ==============================================================================
> --- trunk/subversion/include/svn_wc.h (original)
> +++ trunk/subversion/include/svn_wc.h Mon Oct 1 22:21:40 2007
> @@ -2294,7 +2294,7 @@
> * provided from the corresponding value in @a config, and @a recurse
> * instead of @a depth. If @a recurse is true, behave as if for @c
> * svn_depth_infinity; else if @a recurse is false, behave as if for
> - * @c svn_depth_files.
> + * @c svn_depth_immediates.
> *
> * @since New in 1.2.
> * @deprecated Provided for backward compatibility with the 1.4 API.
>
> Modified: trunk/subversion/libsvn_client/add.c
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/libsvn_client/add.c?pathrev=26888&r1=26887&r2=26888
> ==============================================================================
> --- trunk/subversion/libsvn_client/add.c (original)
> +++ trunk/subversion/libsvn_client/add.c Mon Oct 1 22:21:40 2007
> @@ -557,7 +557,7 @@
> svn_client_ctx_t *ctx,
> apr_pool_t *pool)
> {
> - return svn_client_add4(path, SVN_DEPTH_FROM_RECURSE(recursive),
> + return svn_client_add4(path, SVN_DEPTH_INFINITY_OR_FILES(recursive),
> force, no_ignore, FALSE, ctx,
> pool);
> }
>
> Modified: trunk/subversion/libsvn_client/checkout.c
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/libsvn_client/checkout.c?pathrev=26888&r1=26887&r2=26888
> ==============================================================================
> --- trunk/subversion/libsvn_client/checkout.c (original)
> +++ trunk/subversion/libsvn_client/checkout.c Mon Oct 1 22:21:40 2007
> @@ -228,7 +228,7 @@
> {
> return svn_client__checkout_internal(result_rev, URL, path, peg_revision,
> revision,
> - SVN_DEPTH_FROM_RECURSE(recurse),
> + SVN_DEPTH_INFINITY_OR_FILES(recurse),
> ignore_externals, FALSE, NULL, ctx,
> pool);
> }
> @@ -248,6 +248,6 @@
>
> return svn_client__checkout_internal(result_rev, URL, path, &peg_revision,
> revision,
> - SVN_DEPTH_FROM_RECURSE(recurse),
> + SVN_DEPTH_INFINITY_OR_FILES(recurse),
> FALSE, FALSE, NULL, ctx, pool);
> }
>
> Modified: trunk/subversion/libsvn_client/commit.c
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/libsvn_client/commit.c?pathrev=26888&r1=26887&r2=26888
> ==============================================================================
> --- trunk/subversion/libsvn_client/commit.c (original)
> +++ trunk/subversion/libsvn_client/commit.c Mon Oct 1 22:21:40 2007
> @@ -829,7 +829,8 @@
> apr_pool_t *pool)
> {
> return svn_client_import3(commit_info_p,
> - path, url, SVN_DEPTH_FROM_RECURSE(! nonrecursive),
> + path, url,
> + SVN_DEPTH_INFINITY_OR_FILES(! nonrecursive),
> no_ignore, FALSE, ctx, pool);
> }
>
>
> Modified: trunk/subversion/libsvn_client/copy.c
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/libsvn_client/copy.c?pathrev=26888&r1=26887&r2=26888
> ==============================================================================
> --- trunk/subversion/libsvn_client/copy.c (original)
> +++ trunk/subversion/libsvn_client/copy.c Mon Oct 1 22:21:40 2007
> @@ -1370,7 +1370,7 @@
> SVN_ERR(svn_client__checkout_internal
> (NULL, pair->src_original, pair->dst, &pair->src_peg_revision,
> &pair->src_op_revision,
> - SVN_DEPTH_FROM_RECURSE(TRUE),
> + SVN_DEPTH_INFINITY_OR_FILES(TRUE),
> FALSE, FALSE, NULL, ctx, pool));
>
> /* Rewrite URLs recursively, remove wcprops, and mark everything
>
> Modified: trunk/subversion/libsvn_client/diff.c
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/libsvn_client/diff.c?pathrev=26888&r1=26887&r2=26888
> ==============================================================================
> --- trunk/subversion/libsvn_client/diff.c (original)
> +++ trunk/subversion/libsvn_client/diff.c Mon Oct 1 22:21:40 2007
> @@ -1553,7 +1553,7 @@
> apr_pool_t *pool)
> {
> return svn_client_diff4(options, path1, revision1, path2,
> - revision2, SVN_DEPTH_FROM_RECURSE(recurse),
> + revision2, SVN_DEPTH_INFINITY_OR_FILES(recurse),
> ignore_ancestry, no_diff_deleted,
> ignore_content_type, header_encoding,
> outfile, errfile, ctx, pool);
> @@ -1679,7 +1679,7 @@
> peg_revision,
> start_revision,
> end_revision,
> - SVN_DEPTH_FROM_RECURSE(recurse),
> + SVN_DEPTH_INFINITY_OR_FILES(recurse),
> ignore_ancestry,
> no_diff_deleted,
> ignore_content_type,
> @@ -1706,7 +1706,8 @@
> apr_pool_t *pool)
> {
> return svn_client_diff_peg3(options, path, peg_revision, start_revision,
> - end_revision, SVN_DEPTH_FROM_RECURSE(recurse),
> + end_revision,
> + SVN_DEPTH_INFINITY_OR_FILES(recurse),
> ignore_ancestry, no_diff_deleted,
> ignore_content_type, SVN_APR_LOCALE_CHARSET,
> outfile, errfile, ctx, pool);
> @@ -1778,7 +1779,8 @@
> apr_pool_t *pool)
> {
> return svn_client_diff_summarize2(path1, revision1, path2,
> - revision2, SVN_DEPTH_FROM_RECURSE(recurse),
> + revision2,
> + SVN_DEPTH_INFINITY_OR_FILES(recurse),
> ignore_ancestry, summarize_func,
> summarize_baton, ctx, pool);
> }
> @@ -1827,7 +1829,7 @@
> {
> return svn_client_diff_summarize_peg2(path, peg_revision,
> start_revision, end_revision,
> - SVN_DEPTH_FROM_RECURSE(recurse),
> + SVN_DEPTH_INFINITY_OR_FILES(recurse),
> ignore_ancestry,
> summarize_func, summarize_baton,
> ctx, pool);
>
> Modified: trunk/subversion/libsvn_client/export.c
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/libsvn_client/export.c?pathrev=26888&r1=26887&r2=26888
> ==============================================================================
> --- trunk/subversion/libsvn_client/export.c (original)
> +++ trunk/subversion/libsvn_client/export.c Mon Oct 1 22:21:40 2007
> @@ -986,7 +986,7 @@
> {
> return svn_client_export4(result_rev, from, to, peg_revision, revision,
> overwrite, ignore_externals,
> - SVN_DEPTH_FROM_RECURSE(recurse),
> + SVN_DEPTH_INFINITY_OR_FILES(recurse),
> native_eol, ctx, pool);
> }
>
>
> Modified: trunk/subversion/libsvn_client/externals.c
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/libsvn_client/externals.c?pathrev=26888&r1=26887&r2=26888
> ==============================================================================
> --- trunk/subversion/libsvn_client/externals.c (original)
> +++ trunk/subversion/libsvn_client/externals.c Mon Oct 1 22:21:40 2007
> @@ -275,7 +275,8 @@
>
> /* ... Hello, new hotness. */
> SVN_ERR(svn_client__checkout_internal(NULL, url, path, peg_revision,
> - revision, SVN_DEPTH_FROM_RECURSE(TRUE),
> + revision,
> + SVN_DEPTH_INFINITY_OR_FILES(TRUE),
> FALSE, FALSE, timestamp_sleep,
> ctx, pool));
>
> @@ -367,13 +368,11 @@
> TRUE, FALSE, svn_depth_infinity, NULL,
> ib->ctx, ib->pool));
> else
> - SVN_ERR(svn_client__checkout_internal(NULL, new_item->url, path,
> - &(new_item->peg_revision),
> - &(new_item->revision),
> - SVN_DEPTH_FROM_RECURSE(TRUE),
> - FALSE, FALSE,
> - ib->timestamp_sleep,
> - ib->ctx, ib->pool));
> + SVN_ERR(svn_client__checkout_internal
> + (NULL, new_item->url, path,
> + &(new_item->peg_revision), &(new_item->revision),
> + SVN_DEPTH_INFINITY_OR_FILES(TRUE),
> + FALSE, FALSE, ib->timestamp_sleep, ib->ctx, ib->pool));
> }
> else if (! new_item)
> {
>
> Modified: trunk/subversion/libsvn_client/info.c
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/libsvn_client/info.c?pathrev=26888&r1=26887&r2=26888
> ==============================================================================
> --- trunk/subversion/libsvn_client/info.c (original)
> +++ trunk/subversion/libsvn_client/info.c Mon Oct 1 22:21:40 2007
> @@ -517,12 +517,9 @@
> svn_client_ctx_t *ctx,
> apr_pool_t *pool)
> {
> - /* SVN_DEPTH_FROM_RECURSE() will return info about immediate file
> - children of a directory, so instead inline an expression to
> - preserve backward compatibility. */
> return svn_client_info2(path_or_url, peg_revision, revision,
> receiver, receiver_baton,
> - (recurse ? svn_depth_infinity : svn_depth_empty),
> + SVN_DEPTH_INFINITY_OR_EMPTY(recurse),
> ctx, pool);
> }
>
>
> Modified: trunk/subversion/libsvn_client/list.c
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/libsvn_client/list.c?pathrev=26888&r1=26887&r2=26888
> ==============================================================================
> --- trunk/subversion/libsvn_client/list.c (original)
> +++ trunk/subversion/libsvn_client/list.c Mon Oct 1 22:21:40 2007
> @@ -283,11 +283,7 @@
> return svn_client_list2(path_or_url,
> peg_revision,
> revision,
> - /* Don't use SVN_DEPTH_FROM_RECURSE() here,
> - because it defaults to svn_depth_files
> - in the non-recursive case, whereas we need
> - svn_depth_immediates for compatibilty. */
> - recurse ? svn_depth_infinity : svn_depth_immediates,
> + SVN_DEPTH_INFINITY_OR_IMMEDIATES(recurse),
> dirent_fields,
> fetch_locks,
> list_func,
>
> Modified: trunk/subversion/libsvn_client/merge.c
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/libsvn_client/merge.c?pathrev=26888&r1=26887&r2=26888
> ==============================================================================
> --- trunk/subversion/libsvn_client/merge.c (original)
> +++ trunk/subversion/libsvn_client/merge.c Mon Oct 1 22:21:40 2007
> @@ -3530,7 +3530,8 @@
> apr_pool_t *pool)
> {
> return svn_client_merge3(source1, revision1, source2, revision2,
> - target_wcpath, SVN_DEPTH_FROM_RECURSE(recurse),
> + target_wcpath,
> + SVN_DEPTH_INFINITY_OR_FILES(recurse),
> ignore_ancestry, force, FALSE, dry_run,
> merge_options, ctx, pool);
> }
> @@ -3776,7 +3777,8 @@
> apr_pool_t *pool)
> {
> return svn_client_merge_peg3(source, revision1, revision2, peg_revision,
> - target_wcpath, SVN_DEPTH_FROM_RECURSE(recurse),
> + target_wcpath,
> + SVN_DEPTH_INFINITY_OR_FILES(recurse),
> ignore_ancestry, force, FALSE, dry_run,
> merge_options, ctx, pool);
> }
>
> Modified: trunk/subversion/libsvn_client/prop_commands.c
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/libsvn_client/prop_commands.c?pathrev=26888&r1=26887&r2=26888
> ==============================================================================
> --- trunk/subversion/libsvn_client/prop_commands.c (original)
> +++ trunk/subversion/libsvn_client/prop_commands.c Mon Oct 1 22:21:40 2007
> @@ -410,14 +410,11 @@
> svn_client_ctx_t *ctx,
> apr_pool_t *pool)
> {
> - /* SVN_DEPTH_FROM_RECURSE() will affect immediate file children of
> - directory, so instead inline an expression to preserve backward
> - compatibility. */
> return svn_client_propset3(NULL,
> propname,
> propval,
> target,
> - (recurse ? svn_depth_infinity : svn_depth_empty),
> + SVN_DEPTH_INFINITY_OR_EMPTY(recurse),
> skip_checks,
> SVN_INVALID_REVNUM,
> ctx,
> @@ -889,7 +886,7 @@
> peg_revision,
> revision,
> actual_revnum,
> - (recurse ? svn_depth_infinity : svn_depth_empty),
> + SVN_DEPTH_INFINITY_OR_EMPTY(recurse),
> ctx,
> pool);
> }
> @@ -1356,10 +1353,7 @@
> pl_baton.pool = pool;
>
> SVN_ERR(svn_client_proplist3(target, peg_revision, revision,
> - /* We can't use SVN_DEPTH_FROM_RECURSE() here,
> - because we want a non-recursive proplist
> - to mean svn_depth_empty, not _files. */
> - recurse ? svn_depth_infinity : svn_depth_empty,
> + SVN_DEPTH_INFINITY_OR_EMPTY(recurse),
> proplist_receiver_cb, &pl_baton, ctx, pool));
>
> return SVN_NO_ERROR;
>
> Modified: trunk/subversion/libsvn_client/status.c
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/libsvn_client/status.c?pathrev=26888&r1=26887&r2=26888
> ==============================================================================
> --- trunk/subversion/libsvn_client/status.c (original)
> +++ trunk/subversion/libsvn_client/status.c Mon Oct 1 22:21:40 2007
> @@ -232,7 +232,7 @@
> /* Try to open the target directory. If the target is a file or an
> unversioned directory, open the parent directory instead */
> err = svn_wc_adm_open3(&anchor_access, NULL, path, FALSE,
> - SVN_DEPTH_TO_RECURSE(depth) ? -1 : 1,
> + SVN_DEPTH_IS_RECURSIVE(depth) ? -1 : 1,
> ctx->cancel_func, ctx->cancel_baton,
> pool);
> if (err && err->apr_err == SVN_ERR_WC_NOT_DIRECTORY)
> @@ -240,7 +240,7 @@
> svn_error_clear(err);
> SVN_ERR(svn_wc_adm_open_anchor(&anchor_access, &target_access, &target,
> path, FALSE,
> - SVN_DEPTH_TO_RECURSE(depth) ? -1 : 1,
> + SVN_DEPTH_IS_RECURSIVE(depth) ? -1 : 1,
> ctx->cancel_func, ctx->cancel_baton,
> pool));
> }
> @@ -411,7 +411,7 @@
> {
> return svn_client_status3(result_rev, path, revision,
> status_func, status_baton,
> - SVN_DEPTH_FROM_RECURSE_STATUS(recurse),
> + SVN_DEPTH_INFINITY_OR_IMMEDIATES(recurse),
> get_all, update,
> no_ignore, ignore_externals,
> ctx, pool);
>
> Modified: trunk/subversion/libsvn_client/switch.c
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/libsvn_client/switch.c?pathrev=26888&r1=26887&r2=26888
> ==============================================================================
> --- trunk/subversion/libsvn_client/switch.c (original)
> +++ trunk/subversion/libsvn_client/switch.c Mon Oct 1 22:21:40 2007
> @@ -205,8 +205,7 @@
> /* We handle externals after the switch is complete, so that
> handling external items (and any errors therefrom) doesn't delay
> the primary operation. */
> - if ((depth == svn_depth_infinity || depth == svn_depth_unknown)
> - && (! ignore_externals))
> + if (SVN_DEPTH_IS_RECURSIVE(depth) && (! ignore_externals))
> err = svn_client__handle_externals(traversal_info, FALSE,
> use_sleep, ctx, pool);
>
> @@ -295,6 +294,6 @@
> apr_pool_t *pool)
> {
> return svn_client__switch_internal(result_rev, path, switch_url, revision,
> - SVN_DEPTH_FROM_RECURSE(recurse),
> + SVN_DEPTH_INFINITY_OR_FILES(recurse),
> NULL, FALSE, FALSE, ctx, pool);
> }
>
> Modified: trunk/subversion/libsvn_client/update.c
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/libsvn_client/update.c?pathrev=26888&r1=26887&r2=26888
> ==============================================================================
> --- trunk/subversion/libsvn_client/update.c (original)
> +++ trunk/subversion/libsvn_client/update.c Mon Oct 1 22:21:40 2007
> @@ -234,8 +234,7 @@
> /* We handle externals after the update is complete, so that
> handling external items (and any errors therefrom) doesn't delay
> the primary operation. */
> - if ((depth == svn_depth_infinity || depth == svn_depth_unknown)
> - && (! ignore_externals))
> + if (SVN_DEPTH_IS_RECURSIVE(depth) && (! ignore_externals))
> SVN_ERR(svn_client__handle_externals(traversal_info,
> TRUE, /* update unchanged ones */
> use_sleep, ctx, pool));
> @@ -376,7 +375,7 @@
> apr_pool_t *pool)
> {
> return svn_client_update3(result_revs, paths, revision,
> - SVN_DEPTH_FROM_RECURSE(recurse),
> + SVN_DEPTH_INFINITY_OR_FILES(recurse),
> ignore_externals, FALSE, ctx, pool);
> }
>
> @@ -389,6 +388,6 @@
> apr_pool_t *pool)
> {
> return svn_client__update_internal(result_rev, path, revision,
> - SVN_DEPTH_FROM_RECURSE(recurse),
> + SVN_DEPTH_INFINITY_OR_FILES(recurse),
> FALSE, FALSE, NULL, ctx, pool);
> }
>
> Modified: trunk/subversion/libsvn_ra/ra_loader.c
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/libsvn_ra/ra_loader.c?pathrev=26888&r1=26887&r2=26888
> ==============================================================================
> --- trunk/subversion/libsvn_ra/ra_loader.c (original)
> +++ trunk/subversion/libsvn_ra/ra_loader.c Mon Oct 1 22:21:40 2007
> @@ -689,7 +689,7 @@
> return session->vtable->do_update(session,
> &(b->reporter3), &(b->reporter3_baton),
> revision_to_update_to, update_target,
> - SVN_DEPTH_FROM_RECURSE(recurse),
> + SVN_DEPTH_INFINITY_OR_FILES(recurse),
> FALSE, /* no copyfrom args */
> update_editor, update_baton,
> pool);
> @@ -731,7 +731,7 @@
> return session->vtable->do_switch(session,
> &(b->reporter3), &(b->reporter3_baton),
> revision_to_switch_to, switch_target,
> - SVN_DEPTH_FROM_RECURSE(recurse),
> + SVN_DEPTH_INFINITY_OR_FILES(recurse),
> switch_url, switch_editor, switch_baton,
> pool);
> }
> @@ -769,7 +769,7 @@
> return session->vtable->do_status(session,
> &(b->reporter3), &(b->reporter3_baton),
> status_target, revision,
> - SVN_DEPTH_FROM_RECURSE_STATUS(recurse),
> + SVN_DEPTH_INFINITY_OR_IMMEDIATES(recurse),
> status_editor, status_baton, pool);
> }
>
> @@ -814,7 +814,7 @@
> return session->vtable->do_diff(session,
> &(b->reporter3), &(b->reporter3_baton),
> revision, diff_target,
> - SVN_DEPTH_FROM_RECURSE(recurse),
> + SVN_DEPTH_INFINITY_OR_FILES(recurse),
> ignore_ancestry, text_deltas, versus_url,
> diff_editor, diff_baton, pool);
> }
>
> Modified: trunk/subversion/libsvn_ra/wrapper_template.h
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/libsvn_ra/wrapper_template.h?pathrev=26888&r1=26887&r2=26888
> ==============================================================================
> --- trunk/subversion/libsvn_ra/wrapper_template.h (original)
> +++ trunk/subversion/libsvn_ra/wrapper_template.h Mon Oct 1 22:21:40 2007
> @@ -260,7 +260,7 @@
> {
> const svn_ra_reporter3_t *reporter3;
> void *baton3;
> - svn_depth_t depth = SVN_DEPTH_FROM_RECURSE(recurse);
> + svn_depth_t depth = SVN_DEPTH_INFINITY_OR_FILES(recurse);
>
> SVN_ERR(VTBL.do_update(session_baton, &reporter3, &baton3,
> revision_to_update_to, update_target, depth,
> @@ -284,7 +284,7 @@
> {
> const svn_ra_reporter3_t *reporter3;
> void *baton3;
> - svn_depth_t depth = SVN_DEPTH_FROM_RECURSE(recurse);
> + svn_depth_t depth = SVN_DEPTH_INFINITY_OR_FILES(recurse);
>
> SVN_ERR(VTBL.do_switch(session_baton, &reporter3, &baton3,
> revision_to_switch_to, switch_target, depth,
> @@ -307,7 +307,7 @@
> {
> const svn_ra_reporter3_t *reporter3;
> void *baton3;
> - svn_depth_t depth = SVN_DEPTH_FROM_RECURSE_STATUS(recurse);
> + svn_depth_t depth = SVN_DEPTH_INFINITY_OR_IMMEDIATES(recurse);
>
> SVN_ERR(VTBL.do_status(session_baton, &reporter3, &baton3, status_target,
> revision, depth, editor, status_baton, pool));
> @@ -331,7 +331,7 @@
> {
> const svn_ra_reporter3_t *reporter3;
> void *baton3;
> - svn_depth_t depth = SVN_DEPTH_FROM_RECURSE(recurse);
> + svn_depth_t depth = SVN_DEPTH_INFINITY_OR_FILES(recurse);
>
> SVN_ERR(VTBL.do_diff(session_baton, &reporter3, &baton3, revision,
> diff_target, depth, ignore_ancestry, TRUE,
>
> Modified: trunk/subversion/libsvn_ra_svn/client.c
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/libsvn_ra_svn/client.c?pathrev=26888&r1=26887&r2=26888
> ==============================================================================
> --- trunk/subversion/libsvn_ra_svn/client.c (original)
> +++ trunk/subversion/libsvn_ra_svn/client.c Mon Oct 1 22:21:40 2007
> @@ -52,7 +52,7 @@
> #define DO_AUTH svn_ra_svn__do_internal_auth
> #endif
>
> -/* We aren't using SVN_DEPTH_TO_RECURSE here because that macro (for
> +/* We aren't using SVN_DEPTH_IS_RECURSIVE here because that macro (for
> whatever reason) deems svn_depth_immediates as non-recursive, which
> is ... kinda true, but not true enough for our purposes. We need
> our requested recursion level to be *at least* as recursive as the
>
> Modified: trunk/subversion/libsvn_repos/delta.c
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/libsvn_repos/delta.c?pathrev=26888&r1=26887&r2=26888
> ==============================================================================
> --- trunk/subversion/libsvn_repos/delta.c (original)
> +++ trunk/subversion/libsvn_repos/delta.c Mon Oct 1 22:21:40 2007
> @@ -402,7 +402,7 @@
> authz_read_func,
> authz_read_baton,
> text_deltas,
> - SVN_DEPTH_FROM_RECURSE(recurse),
> + SVN_DEPTH_INFINITY_OR_FILES(recurse),
> entry_props,
> ignore_ancestry,
> pool);
>
> Modified: trunk/subversion/libsvn_repos/reporter.c
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/libsvn_repos/reporter.c?pathrev=26888&r1=26887&r2=26888
> ==============================================================================
> --- trunk/subversion/libsvn_repos/reporter.c (original)
> +++ trunk/subversion/libsvn_repos/reporter.c Mon Oct 1 22:21:40 2007
> @@ -1405,7 +1405,7 @@
> s_operand,
> switch_path,
> text_deltas,
> - SVN_DEPTH_FROM_RECURSE(recurse),
> + SVN_DEPTH_INFINITY_OR_FILES(recurse),
> ignore_ancestry,
> FALSE, /* don't send copyfrom args */
> editor,
>
> Modified: trunk/subversion/libsvn_wc/adm_crawler.c
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/libsvn_wc/adm_crawler.c?pathrev=26888&r1=26887&r2=26888
> ==============================================================================
> --- trunk/subversion/libsvn_wc/adm_crawler.c (original)
> +++ trunk/subversion/libsvn_wc/adm_crawler.c Mon Oct 1 22:21:40 2007
> @@ -433,7 +433,7 @@
> subdir_entry->lock_token,
> iterpool));
>
> - if (depth == svn_depth_infinity || depth == svn_depth_unknown)
> + if (SVN_DEPTH_IS_RECURSIVE(depth))
> SVN_ERR(report_revisions_and_depths(adm_access, this_path,
> subdir_entry->revision,
> reporter, report_baton,
> @@ -746,7 +746,7 @@
> adm_access,
> &wrap_3to2_reporter, &wrb,
> restore_files,
> - SVN_DEPTH_FROM_RECURSE(recurse),
> + SVN_DEPTH_INFINITY_OR_FILES(recurse),
> use_commit_times,
> notify_func,
> notify_baton,
>
> Modified: trunk/subversion/libsvn_wc/diff.c
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/libsvn_wc/diff.c?pathrev=26888&r1=26887&r2=26888
> ==============================================================================
> --- trunk/subversion/libsvn_wc/diff.c (original)
> +++ trunk/subversion/libsvn_wc/diff.c Mon Oct 1 22:21:40 2007
> @@ -1766,7 +1766,7 @@
> target,
> callbacks,
> callback_baton,
> - SVN_DEPTH_FROM_RECURSE(recurse),
> + SVN_DEPTH_INFINITY_OR_FILES(recurse),
> ignore_ancestry,
> use_text_base,
> reverse_order,
> @@ -1869,7 +1869,7 @@
> apr_pool_t *pool)
> {
> return svn_wc_diff4(anchor, target, callbacks, callback_baton,
> - SVN_DEPTH_FROM_RECURSE(recurse), ignore_ancestry,
> + SVN_DEPTH_INFINITY_OR_FILES(recurse), ignore_ancestry,
> pool);
> }
>
>
> Modified: trunk/subversion/libsvn_wc/status.c
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/libsvn_wc/status.c?pathrev=26888&r1=26887&r2=26888
> ==============================================================================
> --- trunk/subversion/libsvn_wc/status.c (original)
> +++ trunk/subversion/libsvn_wc/status.c Mon Oct 1 22:21:40 2007
> @@ -2147,7 +2147,7 @@
> edit_revision,
> anchor,
> target,
> - SVN_DEPTH_FROM_RECURSE_STATUS(recurse),
> + SVN_DEPTH_INFINITY_OR_IMMEDIATES(recurse),
> get_all,
> no_ignore,
> ignores,
> @@ -2202,7 +2202,7 @@
> SVN_ERR(svn_wc_get_default_ignores(&ignores, config, pool));
> return svn_wc_get_status_editor3(editor, edit_baton, NULL, edit_revision,
> anchor, target,
> - SVN_DEPTH_FROM_RECURSE_STATUS(recurse),
> + SVN_DEPTH_INFINITY_OR_IMMEDIATES(recurse),
> get_all, no_ignore, ignores,
> old_status_func_cb, b,
> cancel_func, cancel_baton,
>
> Modified: trunk/subversion/libsvn_wc/update_editor.c
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/libsvn_wc/update_editor.c?pathrev=26888&r1=26887&r2=26888
> ==============================================================================
> --- trunk/subversion/libsvn_wc/update_editor.c (original)
> +++ trunk/subversion/libsvn_wc/update_editor.c Mon Oct 1 22:21:40 2007
> @@ -2915,7 +2915,7 @@
> {
> return svn_wc_get_update_editor3(target_revision, anchor, target,
> use_commit_times,
> - SVN_DEPTH_FROM_RECURSE(recurse),
> + SVN_DEPTH_INFINITY_OR_FILES(recurse),
> FALSE, notify_func, notify_baton,
> cancel_func, cancel_baton, NULL, NULL,
> NULL, NULL,
> @@ -2945,7 +2945,7 @@
>
> return svn_wc_get_update_editor3(target_revision, anchor, target,
> use_commit_times,
> - SVN_DEPTH_FROM_RECURSE(recurse),
> + SVN_DEPTH_INFINITY_OR_FILES(recurse),
> FALSE, svn_wc__compat_call_notify_func, nb,
> cancel_func, cancel_baton, NULL, NULL,
> NULL, NULL,
> @@ -3005,7 +3005,7 @@
>
> return svn_wc_get_switch_editor3(target_revision, anchor, target,
> switch_url, use_commit_times,
> - SVN_DEPTH_FROM_RECURSE(recurse),
> + SVN_DEPTH_INFINITY_OR_FILES(recurse),
> FALSE, notify_func, notify_baton,
> cancel_func, cancel_baton, diff3_cmd,
> NULL, editor, edit_baton, traversal_info,
> @@ -3035,7 +3035,7 @@
>
> return svn_wc_get_switch_editor3(target_revision, anchor, target,
> switch_url, use_commit_times,
> - SVN_DEPTH_FROM_RECURSE(recurse),
> + SVN_DEPTH_INFINITY_OR_FILES(recurse),
> FALSE, svn_wc__compat_call_notify_func, nb,
> cancel_func, cancel_baton, diff3_cmd,
> NULL, editor, edit_baton, traversal_info,
>
> Modified: trunk/subversion/svn/main.c
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/svn/main.c?pathrev=26888&r1=26887&r2=26888
> ==============================================================================
> --- trunk/subversion/svn/main.c (original)
> +++ trunk/subversion/svn/main.c Mon Oct 1 22:21:40 2007
> @@ -1224,7 +1224,7 @@
> opt_state.revprop = TRUE;
> break;
> case 'R':
> - opt_state.depth = SVN_DEPTH_FROM_RECURSE(TRUE);
> + opt_state.depth = SVN_DEPTH_INFINITY_OR_FILES(TRUE);
> break;
> case 'N':
> descend = FALSE;
> @@ -1609,12 +1609,12 @@
> if (descend == FALSE)
> {
> if (subcommand->cmd_func == svn_cl__status)
> - opt_state.depth = SVN_DEPTH_FROM_RECURSE_STATUS(FALSE);
> + opt_state.depth = SVN_DEPTH_INFINITY_OR_IMMEDIATES(FALSE);
> else if (subcommand->cmd_func == svn_cl__revert)
> /* Be especially conservative, since revert can lose data. */
> opt_state.depth = svn_depth_empty;
> else
> - opt_state.depth = SVN_DEPTH_FROM_RECURSE(FALSE);
> + opt_state.depth = SVN_DEPTH_INFINITY_OR_FILES(FALSE);
> }
> /* Create a client context object. */
> command_baton.opt_state = &opt_state;
>
> Modified: trunk/subversion/svn/propdel-cmd.c
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/svn/propdel-cmd.c?pathrev=26888&r1=26887&r2=26888
> ==============================================================================
> --- trunk/subversion/svn/propdel-cmd.c (original)
> +++ trunk/subversion/svn/propdel-cmd.c Mon Oct 1 22:21:40 2007
> @@ -148,7 +148,7 @@
> {
> SVN_ERR(svn_cmdline_printf
> (subpool,
> - SVN_DEPTH_TO_RECURSE(opt_state->depth)
> + SVN_DEPTH_IS_RECURSIVE(opt_state->depth)
> ? _("property '%s' deleted (recursively) from '%s'.\n")
> : _("property '%s' deleted from '%s'.\n"),
> pname_utf8, svn_path_local_style(target, subpool)));
>
> Modified: trunk/subversion/svn/propget-cmd.c
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/svn/propget-cmd.c?pathrev=26888&r1=26887&r2=26888
> ==============================================================================
> --- trunk/subversion/svn/propget-cmd.c (original)
> +++ trunk/subversion/svn/propget-cmd.c Mon Oct 1 22:21:40 2007
> @@ -301,7 +301,7 @@
> the path associated with a printed thing is not obvious,
> we'll print filenames. That is, unless we've been told
> not to do so with the --strict option. */
> - print_filenames = ((SVN_DEPTH_TO_RECURSE(opt_state->depth)
> + print_filenames = ((SVN_DEPTH_IS_RECURSIVE(opt_state->depth)
> || targets->nelts > 1
> || apr_hash_count(props) > 1)
> && (! opt_state->strict));
>
> Modified: trunk/subversion/svn/propset-cmd.c
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/svn/propset-cmd.c?pathrev=26888&r1=26887&r2=26888
> ==============================================================================
> --- trunk/subversion/svn/propset-cmd.c (original)
> +++ trunk/subversion/svn/propset-cmd.c Mon Oct 1 22:21:40 2007
> @@ -220,7 +220,7 @@
> {
> SVN_ERR
> (svn_cmdline_printf
> - (pool, SVN_DEPTH_TO_RECURSE(opt_state->depth)
> + (pool, SVN_DEPTH_IS_RECURSIVE(opt_state->depth)
> ? _("property '%s' set (recursively) on '%s'\n")
> : _("property '%s' set on '%s'\n"),
> pname, svn_path_local_style(target, pool)));
>
> Modified: trunk/subversion/svn/revert-cmd.c
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/svn/revert-cmd.c?pathrev=26888&r1=26887&r2=26888
> ==============================================================================
> --- trunk/subversion/svn/revert-cmd.c (original)
> +++ trunk/subversion/svn/revert-cmd.c Mon Oct 1 22:21:40 2007
> @@ -87,7 +87,7 @@
>
> if (err
> && (err->apr_err == SVN_ERR_WC_NOT_LOCKED)
> - && (! SVN_DEPTH_TO_RECURSE(opt_state->depth)))
> + && (! SVN_DEPTH_IS_RECURSIVE(opt_state->depth)))
> {
> err = svn_error_quick_wrap
> (err, _("Try 'svn revert --recursive' instead?"));
>
> Modified: trunk/subversion/svn/switch-cmd.c
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/svn/switch-cmd.c?pathrev=26888&r1=26887&r2=26888
> ==============================================================================
> --- trunk/subversion/svn/switch-cmd.c (original)
> +++ trunk/subversion/svn/switch-cmd.c Mon Oct 1 22:21:40 2007
> @@ -102,7 +102,7 @@
> /* handle only-rewrite case specially */
> if (opt_state->relocate)
> return rewrite_urls(targets,
> - SVN_DEPTH_TO_RECURSE(opt_state->depth),
> + SVN_DEPTH_IS_RECURSIVE(opt_state->depth),
> ctx, pool);
>
> if (targets->nelts < 1)
>
> Modified: trunk/subversion/svnserve/serve.c
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/svnserve/serve.c?pathrev=26888&r1=26887&r2=26888
> ==============================================================================
> --- trunk/subversion/svnserve/serve.c (original)
> +++ trunk/subversion/svnserve/serve.c Mon Oct 1 22:21:40 2007
> @@ -1321,7 +1321,7 @@
> if (depth_word)
> depth = svn_depth_from_word(depth_word);
> else
> - depth = SVN_DEPTH_FROM_RECURSE(recurse);
> + depth = SVN_DEPTH_INFINITY_OR_FILES(recurse);
>
> send_copyfrom_args = (send_copyfrom_param == SVN_RA_SVN_UNSPECIFIED_NUMBER) ?
> FALSE : send_copyfrom_param;
> @@ -1358,7 +1358,7 @@
> if (depth_word)
> depth = svn_depth_from_word(depth_word);
> else
> - depth = SVN_DEPTH_FROM_RECURSE(recurse);
> + depth = SVN_DEPTH_INFINITY_OR_FILES(recurse);
>
> SVN_ERR(trivial_auth_request(conn, pool, b));
> if (!SVN_IS_VALID_REVNUM(rev))
> @@ -1436,7 +1436,7 @@
> if (depth_word)
> depth = svn_depth_from_word(depth_word);
> else
> - depth = SVN_DEPTH_FROM_RECURSE(recurse);
> + depth = SVN_DEPTH_INFINITY_OR_FILES(recurse);
>
> SVN_ERR(trivial_auth_request(conn, pool, b));
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: svn-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: svn-help@subversion.tigris.org
>
>

-- 
David Glasser | glasser_at_davidglasser.net | http://www.davidglasser.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 13 20:20:31 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.