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

Re: [PATCH] Don't bother end users about HTTP requests

From: Stefan Sperling <stsp_at_elego.de>
Date: Sat, 2 Feb 2008 21:45:54 +0100

On Sat, Feb 02, 2008 at 08:51:25PM +0100, Stefan Sperling wrote:
> On Sat, Feb 02, 2008 at 10:17:46AM -0500, Karl Fogel wrote:
> > "Commit failed due to blah blah blah ... (svn error 26754)"
> >
> > I'm making up the syntax, but you get the idea. People could search
> > for "svn error 26754" and presumably get helpful hits, and this would
> > remain stable even when we change the human-readable part of the error
> > message.
>
> I think that having both the numeric error code and the description
> is a good idea.

By the way (and slightly more on topic again than my previous post):

If we were going to include the error number in error messages,
why not also always include the output that is usually printed with
the --enable-maintainer-mode configure option? That is, print the
source file name and line number the error was thrown from?

There are few programs out there that seem to always do this (e.g. rsync).
While it does not tell the average user a lot, it means that developers
get some context in error reports for free.

-- 
Stefan Sperling <stsp_at_elego.de>                 Software Developer
elego Software Solutions GmbH                            HRB 77719
Gustav-Meyer-Allee 25, Gebaeude 12        Tel:  +49 30 23 45 86 96 
13355 Berlin                              Fax:  +49 30 23 45 86 95
http://www.elego.de                 Geschaeftsfuehrer: Olaf Wagner

  • application/pgp-signature attachment: stored
Received on 2008-02-02 21:46:10 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.