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

Re: svn commit: r30050 - in trunk/subversion: include svn tests/cmdline

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: Wed, 26 Mar 2008 11:09:30 +0100

On 3/26/08, Karl Fogel <kfogel_at_red-bean.com> wrote:
> "Hyrum K. Wright" <hyrum_wright_at_mail.utexas.edu> writes:
> > I s'pose so. I just didn't know if it was appropriate to throw an
> > SVN_ERR_WC_* error from within the client.
>
> Yes, I think it is. libsvn_client is, among other things, a wrapper
> around libsvn_wc, and there are surely other instances where it throws
> an SVN_ERR_WC_foo already.
>
> In fact, the best thing to do would be to return that error and document
> the circumstances under which that happens, I guess.

Interesting read in that context:
http://dlweinreb.wordpress.com/2008/03/24/what-conditions-exceptions-are-really-about/

Bye,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-03-26 11:09:45 CET

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.