projects
/
bzrirker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rename to bzrirker everywhere. Add project name option
[bzrirker.git]
/
__init__.py
diff --git
a/__init__.py
b/__init__.py
index 31a26806f81ca9ab2087b1bfcfde5039105ac581..ca1768e45974a038c8c4f297352aa85c4df057a4 100644
(file)
--- 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(), """\
# 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
def test_suite():
from unittest import TestSuite
- import bzrlib.plugins.
irkerhook
.tests
+ import bzrlib.plugins.
bzrirker
.tests
result = TestSuite()
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",
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",
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",
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',
from bzrlib.hooks import install_lazy_named_hook
install_lazy_named_hook("bzrlib.branch", "Branch.hooks", 'post_commit',