[MERGE] Add Hooks.install_named_hook

Daniel Mark Watkins D.M.Watkins at warwick.ac.uk
Mon Mar 10 18:52:19 GMT 2008


On Mon, 10 Mar 2008 09:19:34 -0500
John Arbash Meinel <john at arbash-meinel.com> wrote:
> You can't submit something with DeprecationWarnings to PQM. It runs
> with -Werror so those would all fail.
> 
> There are 2 things to be done...
> 
> 1) Tests that are directly testing a deprecated function should not
> be removed, but be adapted to use something like
> "TestCase.applyDeprecated". That way we can tell both that the
> function is correctly deprecated, *and* that we haven't broken it.
> 
> 2) Other places in the codebase should be switched over to the new
> function so they don't trigger DeprecationWarning.
Done and done.


Dan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: install_named_hook.3.patch
Type: text/x-patch
Size: 30048 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080310/c79e5f04/attachment-0001.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/20080310/c79e5f04/attachment-0001.pgp 


More information about the bazaar mailing list