303
303
These are all empty initially.
305
305
Hooks.__init__(self, "bzrlib.msgeditor", "hooks")
306
313
self.add_hook('commit_message_template',
307
314
"Called when a commit message is being generated. "
308
315
"commit_message_template is called with the bzrlib.commit.Commit "
309
316
"object and the message that is known so far. "
310
317
"commit_message_template must return a new message to use (which "
312
319
"hooks registered for commit_message_template, they are chained "
313
320
"with the result from the first passed into the second, and so "