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