projects
/
bzrirker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove extra hook added due to misunderstanding bzr docs
[bzrirker.git]
/
__init__.py
diff --git
a/__init__.py
b/__init__.py
index bae47ea3e9e7b898d458a7ff20b761de3df4631b..1bc1f346db2149cd4af103bf79b1f6e24234f94b 100644
(file)
--- a/
__init__.py
+++ b/
__init__.py
@@
-12,6
+12,8
@@
Useful configuration settings:
irker_channels - The irc channels to post announcements to
irker_colours - Settings for using colours in the announcements (ANSI or
mIRC)
irker_channels - The irc channels to post announcements to
irker_colours - Settings for using colours in the announcements (ANSI or
mIRC)
+ irker_server - Host for the irkerd server (localhost by default)
+ irker_port - port to connect to (6659 by default)
"""
from bzrlib.config import option_registry
"""
from bzrlib.config import option_registry
@@
-58,10
+60,11
@@
option_registry.register_lazy("irker_colours",
"bzrlib.plugins.bzrirker.irkerhook", "opt_irker_colours")
option_registry.register_lazy("irker_project",
"bzrlib.plugins.bzrirker.irkerhook", "opt_irker_project")
"bzrlib.plugins.bzrirker.irkerhook", "opt_irker_colours")
option_registry.register_lazy("irker_project",
"bzrlib.plugins.bzrirker.irkerhook", "opt_irker_project")
+option_registry.register_lazy("irker_server",
+ "bzrlib.plugins.bzrirker.irkerhook", "opt_irker_server")
+option_registry.register_lazy("irker_port",
+ "bzrlib.plugins.bzrirker.irkerhook", "opt_irker_port")
from bzrlib.hooks import install_lazy_named_hook
from bzrlib.hooks import install_lazy_named_hook
-# This causes double commit messages - investigate what we need further
-#install_lazy_named_hook("bzrlib.branch", "Branch.hooks", 'post_commit',
-# branch_commit_hook, 'bzr-irker')
install_lazy_named_hook("bzrlib.branch", "Branch.hooks",
'post_change_branch_tip', branch_post_change_hook, 'bzr-irker')
install_lazy_named_hook("bzrlib.branch", "Branch.hooks",
'post_change_branch_tip', branch_post_change_hook, 'bzr-irker')