[MERGE] Added pre_commit_info hook to allow modification of the informational text.

John Arbash Meinel john at arbash-meinel.com
Mon Feb 4 19:21:11 GMT 2008


Monty Taylor wrote:
> Here's a tweaked version of the pre_commit_message hook to add
> pre_commit_info and change the signatures...
> 

Why do you want a separate 'pre_commit_info' hook and 
'pre_commit_message' hook. It seems reasonable to just combine them. 
Since pre_commit_message hasn't been merged yet, there is no need to 
maintain compatibility.

Either way, you need a test that you can add a hook, have it be called 
at commit time, and have what it reports be included into the message 
editor.

BB:resubmit

John
=:->




More information about the bazaar mailing list