[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: Branko Čibej <brane_at_xbc.nu>
Date: Sat, 24 Dec 2011 11:25:45 +0100

On 24.12.2011 11:06, Daniel Shahaf wrote:
> Branko Čibej wrote on Fri, Dec 23, 2011 at 23:52:08 +0100:
>> 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.
> Distinguish "The internal state of the library is fubar'd" from "The
> {wc,repos} is fubar'd", and use SVN_ERR_ASSERT() for the former and
> normal errors for invalid on-disk data?
> (and, sure, if we detect a wc is corrupt then we block all further
> operations on it)

That's pretty much the definition of meeting TSVN halfway, isn't it?

-- Brane
Received on 2011-12-24 11:26:23 CET

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