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

Re: svn_wc_status suggestion

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2001-10-18 17:59:12 CEST

kfogel@collab.net writes:

> Ben Collins-Sussman <sussman@collab.net> writes:
> > True, it's a bad error value to return. I suppose that we could make
> > svn_wc_status return NULL (instead of an error) if the path is not
> > under version control. Then the caller could create an error if it
> > wishes. (I know the command-line client would want to do that.)
>
> Returning NULL is the same as returning success (i.e., SVN_NO_ERROR).
> The real information would have to be returned by reference.

Sorry, inaccurate language. Yoshiki and I are talking about returning
a NULL status structure, instead of leaving the status-struct-pointer
uninitialized and returning a real error, as we do now.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36: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.