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

Re: Custom error messages

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Fri, 07 Mar 2008 13:47:58 -0500

Oren Eini (Murphy & Associates) wrote:
>>> Is there a consistent way to be able to send errors to SVN client and
>>> have it display them to the user?
>> This question should probably be asked on users_at_subversion.tigris.org.
>
> I think it belongs here. It is a dev issue, not a usage issue. More
> specifically, it regards the WebDAV protocol.

Your question is borderline. It is a dev issue, but is not about the
development *of* Subversion, which is the topic of this list. It's a
question about development *with* or *against* Subversion, which is not
on-topic here. However, I don't expect Subversion users would know the
answer, either, so...

> I am writing SVN Server. One that can use the WebDAV protocol and make
> SVN clients think that they are talking to Subversion repository. My
> question regards to how I can cause a server error message to be shown to
> the user. On certain situations, I can use the error codes and send my
> own message along. The problem is that in other situations (such as a GET
> request), sending an error message back to the client will not show the
> error to the user, but a generic error instead. I want to know if there
> is a way to send an error to SVN clients in such a fashion that it will
> always be displayed.

Short answer: no, there is no way to guarantee that.

-- 
C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on 2008-03-07 19:48:14 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.