~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/msgeditor.py

  • Committer: Jelmer Vernooij
  • Date: 2008-08-21 16:58:21 UTC
  • mto: (3825.2.1 hook)
  • mto: This revision was merged to the branch mainline in revision 3828.
  • Revision ID: jelmer@samba.org-20080821165821-r5vaoznc96k0kd18
Add tests for commit_message_template hooks.

Show diffs side-by-side

added added

removed removed

Lines of Context:
305
305
    """
306
306
    start_message = None
307
307
    for hook in hooks['commit_message_template']:
308
 
        start_message = hook(start_message)
 
308
        start_message = hook(commit, start_message)
309
309
    return start_message