Rev 26: Name the email plugin for 0.18. in http://bazaar.launchpad.net/~bzr/bzr-email/trunk
Robert Collins
robertc at robertcollins.net
Thu Jun 28 08:14:17 BST 2007
At http://bazaar.launchpad.net/~bzr/bzr-email/trunk
------------------------------------------------------------
revno: 26
revision-id: robertc at robertcollins.net-20070628071347-dvytdwqg5dme0xrf
parent: jelmer at samba.org-20070321130412-3ld5ef0xvyin2m3a
committer: Robert Collins <robertc at robertcollins.net>
branch nick: trunk
timestamp: Thu 2007-06-28 17:13:47 +1000
message:
Name the email plugin for 0.18.
modified:
__init__.py __init__.py-20051018071212-f1765ec4521cab0b
=== modified file '__init__.py'
--- a/__init__.py 2007-02-17 18:09:12 +0000
+++ b/__init__.py 2007-06-28 07:13:47 +0000
@@ -55,6 +55,8 @@
def install_hooks():
"""Install CommitSender to send after commits with bzr >= 0.15 """
Branch.hooks.install_hook('post_commit', branch_commit_hook)
+ if getattr(Branch.hooks, 'name_hook', None):
+ Branch.hooks.name_hook(branch_commit_hook, "bzr-email")
def test_suite():
More information about the bazaar-commits
mailing list