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

Re: svn commit: r1222522 - /subversion/branches/1.7.x/STATUS

From: Stefan Sperling <stsp_at_elego.de>
Date: Sat, 24 Dec 2011 00:04:51 +0100

On Fri, Dec 23, 2011 at 11:52:08PM +0100, Branko Čibej wrote:
> Ranting is all very well, but I've yet to hear a suggestion from you
> about how the libraries should handle unrecoverable errors. Like, for
> example, the case where wc.db contains inconsistent and/or invalid data.

It's already been pointed out that throwing a descriptive error message
at the user and aborting whatever operation is running is better than
asserting. The end result is the same -- the operation is aborted. But
an assert confuses users because it provides no useful information to them.
Received on 2011-12-24 00:05:30 CET

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