From e4e9850ea3fe7998551244aadfb6deeec9c5b8d5 Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Fri, 18 Sep 2015 10:43:12 -0400 Subject: [PATCH] Only run on post_commit By default this plugin will run for any bzr action you take, this isn't ideal as it means that branching will spam a channel with the history of the branch. http://doc.bazaar.canonical.com/beta/en/user-reference/hooks-help.html#post-change-branch-tip --- __init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__init__.py b/__init__.py index 1bc1f34..448e24a 100644 --- a/__init__.py +++ b/__init__.py @@ -67,4 +67,4 @@ option_registry.register_lazy("irker_port", from bzrlib.hooks import install_lazy_named_hook install_lazy_named_hook("bzrlib.branch", "Branch.hooks", - 'post_change_branch_tip', branch_post_change_hook, 'bzr-irker') + 'post_commit', branch_post_change_hook, 'bzr-irker') -- 2.34.1