[PATCH] bzr plugins prints out better information

John Arbash Meinel john at arbash-meinel.com
Mon Jul 11 07:27:20 BST 2005


The attached changeset can be pulled from:
http://bzr.arbash-meinel.com/bzr-revision-uses-ellipsis/

(sorry for re-using a branch)
Specifically patches 889-891 include changes to the plugin code, so that
all_plugins stores a reference to the actual plugin, which lets "bzr
plugins" print out their documentation.

And it also allows "bzr selftest" to load any tests which a plugin might
want to contribute. Specifically "bzr selftest" looks for a function
"test_suite" which should exist in the plugin. If found, it will call
the function and add the return value to the set of tests to be run.

John
=:->
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: plugins-have-test_suite.patch
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20050711/feb93304/attachment.diff 


More information about the bazaar mailing list