[MERGE] Produce a traceback for most lock errors
Aaron Bentley
aaron.bentley at utoronto.ca
Thu Jan 4 20:36:35 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Since BzrNewError was removed, all errors are treated as user errors by
default, rather than internal errors.
However, most lock errors are internal errors, not user errors.
This patch turns most lock errors into internal errors, the exceptions
being lock contention errors and lock-breaking errors.
Aaron
BTW, I'm not sure that it was correct to make errors default to user
errors. I suspect that user errors are the minority.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFFnWVT0F+nu1YWqI0RAoiyAJ42hq1FL9qTJiQ85XSJs3Qu33Zs7gCeJzl3
/a2YIXCHxKksmF/hr5gk+xk=
=Jycc
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lock-internal-error.patch
Type: text/x-patch
Size: 2340 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070104/6ebcfa06/attachment.bin
More information about the bazaar
mailing list