From b17f657892d1327e2de2ae62a73bea51fe74a0b9 Mon Sep 17 00:00:00 2001 From: Manish Sinha Date: Sun, 18 Mar 2012 04:35:17 +0530 Subject: Made the post_commit text to be set for subject which was not set till now --- bzr/hooks.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bzr') diff --git a/bzr/hooks.py b/bzr/hooks.py index 6c69043..5bd8d35 100644 --- a/bzr/hooks.py +++ b/bzr/hooks.py @@ -78,11 +78,12 @@ def post_commit(local, master, old_revno, old_revid, new_revno, new_revid): interpretation = Interpretation.CREATE_EVENT else: interpretation = Interpretation.MODIFY_EVENT - _text = _(" Revision no. : ") + _text = _("Revision: ") _text += str(new_revno) + "\n" _text += revision.message.rstrip() subject = subject_for_branch(master) + subject.set_text(_text) event = Event.new_for_values( timestamp=int(revision.timestamp*1000), interpretation=unicode(interpretation), -- cgit v1.2.3