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

Re: [PATCH] include error codes in error messages

From: Eric Gillespie <epg_at_pretzelnet.org>
Date: Mon, 04 Feb 2008 12:09:12 -0800

Karl Fogel <kfogel_at_red-bean.com> writes:

> Before we go farther with this, I'd like to know that no one (epg?)
> objects strongly to the overall idea.

I only objected to including source file/line information, as we
do in debug mode. At least, that's all I intended to object to,
and I hope that's what I wrote ;->.

Can someone include sample output? Is this causing more error
messages to break weirdly at 80 columns?

> "svn error code", because we want people Googling for this to come up
> with the Subversion-specific solution to a problem in Subversion, even
> when the error code itself is one of the stock APR codes. (I see this
> is what you did.)

I think the user knows to type "svn" along with the error code
into a search engine. Those 4 extra characters eat up precious
horizontal error message space. Alternatively, we could include
just the outermost error code of a chain, printed on a separate
line before the rest of the error output.

-- 
Eric Gillespie <*> epg_at_pretzelnet.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-02-04 21:09:24 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.