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

Re: Suggestion: "svn explain"

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-08-05 18:13:30 CEST

Greg Hudson <ghudson@MIT.EDU> writes:
> svn_error: #21079 : <Item already exists in filesystem>
> file `file:///var/ghudson/svn-test/grows' already exists.
>
> Aside from being visually ugly with the leading newline, an unschooled
> reader is likely to get caught up in the cryptic "svn_error: #21044 : <
> ...>" and take more time to get to the important text. I would display
> this as, perhaps:
>
> svn: Item already exists in filesystem
> svn: file `file:///var/ghudson/svn-test/grows' already exists.

+1 all *over* that.

The error codes don't even help developers, since we don't know them
numerically, we know them by error constant. We should print out the
constant's source name if we can, or just not print a code at all.
The raw codes alarm users while helping no one.

Also agree that the solution to cryptic errors is to write better
error strings (both for the core error string and/or for the
call-specific string where the error was created).

-K

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Aug 5 18:28:51 2002

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.