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

Re: svn_client_create_context returns error?

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2004-01-13 16:41:19 CET

kfogel@collab.net wrote:

> Why does svn_client_create_context() return an error? Shouldn't it
> just return the context object directly, instead of by reference?
>
> Sorry if I missed some point made during the thread surrounding this.
> But, since it does return error, it would be nice if its doc string
> explained what the possible error conditions are. Although in the
> current implementation, there are none...

The entire point of the svn_client_create_context function is so that we
can add things to the client context structure in the future without
breaking existing applications. It seems reasonable that something we
might want to add might require some kind of initialization, which might
fail, causing an error of some sort. Basically, it might be useful
later, and it doesn't hurt much.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jan 13 16:42:05 2004

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.