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

Re: [PATCH] Issue 1846, RA layer part

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2004-06-16 21:09:41 CEST

Whoops, just noticed this part:

+ /* Check if the server has the required capability. */
+ if (!svn_ra_svn_has_capability(conn, SVN_RA_SVN_CAP_GET_LOCATIONS))
+ return svn_error_create (SVN_ERR_RA_NOT_IMPLEMENTED, NULL,
+ _("Server does not implement the
get-locations"
+ " command"));

(and presumably a bunch of associated gunk elsewhere). I don't think
there's a good reason to add a capability string for each new command.
Just try the command and catch the resulting error if it's an old
server.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jun 16 21:10:32 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.