[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: <kfogel_at_collab.net>
Date: 2001-10-18 17:59:01 CEST

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.

Agree that the current error is inappropriate. Yoshiki, want topatch?
(<grin>, never hurts to ask)

-Karl

---------------------------------------------------------------------
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.