[MERGE][Bug #30620] Nicer error message if a plugin is disabled or not installed

Daniel Watkins D.M.Watkins at warwick.ac.uk
Fri Nov 9 13:19:43 GMT 2007


The attached adds a couple of blackbox tests for hooks (in the new
blackbox.test_hooks).  I've used the existing errors.UnknownHook so the
message given has changed from a traceback with:
  AttributeError: 'module' object has no attribute 'non_existant'
to:
  bzr: ERROR: The post commit hook 'bzrlib.non_existant' is unknown in
this version of bzrlib.

-- 
Daniel Watkins (Odd_Bloke)
University of Warwick Christian Focus President
University of Warwick Computing Society WUGLUG Liaison Officer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 30620.1.patch
Type: text/x-patch
Size: 9897 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20071109/29db94cd/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20071109/29db94cd/attachment.pgp 


More information about the bazaar mailing list