API for check

Jelmer Vernooij jelmer at vernstok.nl
Fri May 8 15:01:54 BST 2009


Robert Collins wrote:
> So, to get check reporting all errors, we need to stop raising
> BzrCheckError in bzr check; rather we need to accumulate errors and
> report them.
> 
> I'm thinking of just adding a 'was_ok' attribute to the Check*Result
> objects; programmers can then use that for flow control if desired.
> 
> Thoughts?
I think this is the right way to go, the current mechanism where we
abort when we hit an error is unfortunate.

Cheers,

Jelmer



More information about the bazaar mailing list