Comment 2 for bug 894609

Revision history for this message
Neil Martinsen-Burrell (nmb) wrote :

My original idea to keep another dict of names with different keys doesn't work because get_hook_name is called with the fetched callable rather than the (module_name, module_member) tuple. So, to show the hook in "bzr hooks" we are loading the hook, but when we make populate the dict of hook names we are not loading the hook so we can be lazy about it.