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

Custom error messages

From: Oren Eini (Murphy & Associates) <v-orene_at_microsoft.com>
Date: Fri, 7 Mar 2008 09:16:36 -0800

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?

Received on 2008-03-07 18:16:50 CET

This is an archived mail posted to the Subversion Dev mailing list.