[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: Karl Fogel <kfogel_at_red-bean.com>
Date: Fri, 07 Mar 2008 12:38:04 -0500

"Oren Eini (Murphy & Associates)" <v-orene_at_microsoft.com> writes:
> 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?

This question should probably be asked on users_at_subversion.tigris.org.

When you post there, you might want to clarify whether you're talking
about errors from repository hook scripts, or something else. I
couldn't quite grasp what your question was asking: Subversion generates
errors, but it doesn't "accept" them, so I wasn't sure what you meant or
what you're trying to do.

Good luck,
-Karl

---------------------------------------------------------------------
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 18:38:32 CET

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