how do I register a pre-commit hook from Python?
- plugin hooks api
Erik de Castro Lopo wrote:
> Erik de Castro Lopo wrote:
>> Thanks John, thats enough to get me started.
> Actually its not. What do I need in the __init__.py file to
> register the pre-commit-hook. All the examples I can find
> are for registering a new command.
from bzrlib import branch