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

Re: svn commit: r29127 - in trunk/subversion: bindings/swig include libsvn_subr libsvn_wc svn tests/cmdline

From: David Glasser <glasser_at_davidglasser.net>
Date: Fri, 1 Feb 2008 11:51:04 -0800

On Feb 1, 2008 11:09 AM, Augie Fackler <durin42_at_gmail.com> wrote:
> I'll start working on making these two fixes. Can anyone point me to
> the "correct" way to return multiple errors from a function?

I think what you did should work, although it's not something we do
much in our code. In general we don't have a great way of supporting
this sort of feedback (without the full overhead of the WC notifier).
Alternatively, you can push the names into an array and join them
together into one (possibly arbitrarily long) error message, which
also isn't great.

--dave

-- 
David Glasser | glasser@davidglasser.net | http://www.davidglasser.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-02-01 20:51:16 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.