[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: David Glasser <glasser_at_davidglasser.net>
Date: Fri, 7 Mar 2008 11:45:25 -0800

On Fri, Mar 7, 2008 at 9:16 AM, Oren Eini (Murphy & Associates)
<v-orene_at_microsoft.com> wrote:
>
>
>
>
> Hi,
>
> I am currently in the process of building SvnBridge
> (http://www.codeplex.com/SvnBridge/), a Subversion front end that talks to a
> Team System backend.
>
> One of the issues that I have run into was with error reporting.
> Specifically, when there is an error on my part, I don't seem to have any
> way to send a human readable message to the user.
>
> The issue seems to be related to the way that errors are handled in SVN.
> Under some conditions, it will accept the <m:human-readable errorcode="…">
> string, but in many cases, it will just ignore it, preferring to show a 500
> Internal Server Error instead.
>
> Is there a consistent way to be able to send errors to SVN client and have
> it display them to the user?

You could use svnserve instead of mod_dav_svn, which has a pretty
consistent error handling infrastructure.

--dave

-- 
David Glasser | glasser@davidglasser.net | http://www.davidglasser.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-03-07 20:45:35 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.