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

Re: [trunk/merge tracking] Merge test #17

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2006-09-25 21:50:23 CEST

On 9/25/06, Daniel Rall <dlr@collab.net> wrote:

> Does this seem unreasonable to anyone?
>
> Index: subversion/include/svn_error.h
> ===================================================================
> --- subversion/include/svn_error.h (revision 21630)
> +++ subversion/include/svn_error.h (working copy)
> @@ -148,6 +148,13 @@
> */
> void svn_error_compose(svn_error_t *chain, svn_error_t *new_err);
>
> +/** Return whether @a apr_err exists as a cause of an error in @a
> + * err's chain (e.g. it or its children).
> + *
> + * @since New in 1.5.
> + */
> +svn_boolean_t svn_error_chain_contains(svn_error_t *err, apr_status_t apr_err);

I'd rather see something like

  svn_boolean_t svn_error_root_cause_is(svn_error_t *err,
                                        apr_status_t apr_err);

It seems like it more closely matches what you're really looking for.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Sep 25 21:50:45 2006

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.