X-Git-Url: https://git.ctpug.org.za/?p=bzrirker.git;a=blobdiff_plain;f=__init__.py;h=ca1768e45974a038c8c4f297352aa85c4df057a4;hp=31a26806f81ca9ab2087b1bfcfde5039105ac581;hb=6a73fedeef5fea9b643fa5f7a47f4b161c6cf5de;hpb=bf83d78cc6e54b51ce3f04adf942905009308138 diff --git a/__init__.py b/__init__.py index 31a2680..ca1768e 100644 --- a/__init__.py +++ b/__init__.py @@ -13,7 +13,7 @@ from bzrlib.lazy_import import lazy_import # lazy_import so that it doesn't get loaded if it isn't used # Approach borrowed from bzr-email lazy_import(globals(), """\ -from bzrlib.plugins.irkerhook import irkerhook as _irkerhook +from bzrlib.plugins.bzrirker import irkerhook as _irkerhook """) @@ -40,18 +40,20 @@ def branch_post_change_hook(params): def test_suite(): from unittest import TestSuite - import bzrlib.plugins.irkerhook.tests + import bzrlib.plugins.bzrirker.tests result = TestSuite() - result.addTest(bzrlib.plugins.irkerhook.tests.test_suite()) + result.addTest(bzrlib.plugins.bzrirker.tests.test_suite()) return result option_registry.register_lazy("irker_channels", - "bzrlib.plugins.irkerhook.irkerhook", "opt_irker_channels") + "bzrlib.plugins.bzrirker.irkerhook", "opt_irker_channels") option_registry.register_lazy("irker_colours", - "bzrlib.plugins.irkerhook.irkerhook", "opt_irker_colours") + "bzrlib.plugins.bzrirker.irkerhook", "opt_irker_colours") option_registry.register_lazy("irker_url", - "bzrlib.plugins.irkerhook.irkerhook", "opt_irker_url") + "bzrlib.plugins.bzrirker.irkerhook", "opt_irker_url") +option_registry.register_lazy("irker_project", + "bzrlib.plugins.bzrirker.irkerhook", "opt_irker_project") from bzrlib.hooks import install_lazy_named_hook install_lazy_named_hook("bzrlib.branch", "Branch.hooks", 'post_commit',