[BUG] Crash when doing status

Nicholas Allen nick.allen at onlinehome.de
Tue Jan 30 23:49:14 GMT 2007


> 
> But a better change would be:
> 
> if kind[0] != kind[1] and kind[0] is not None and kind[1] is not None:
>   raise KindChange(path)
> 
> Which could tell you that the kind of a file changed, and you need to do:
> bzr rm path
> bzr add path
> 
> To get it working again.


Thanks - if you can detect this in bzr then why not display a meaningful
message?The user should never see a stack trace IMHO. So would raising
the exception then give the user a meaningful message? Should I file a
bug report?

Nick



More information about the bazaar mailing list