[RFC] another questions about hooks
Ian Clatworthy
ian.clatworthy at internode.on.net
Fri Mar 7 16:26:13 GMT 2008
Alexander Belchenko wrote:
> First question ;-)
>
> C:> bzr hooks
> bzr: ERROR: unknown command "hooks"
>
> Mmm? And how I can examine my set of available hooks?
Good question. I'll be working on hooks again soon in coming months and
I'll look to address this then if no-one else does so before then.
>
> And second question.
>
> pre_commit hook has very lengthy signature:
> (local, master, old_revno, old_revid, future_revno, future_revid,
> tree_delta, future_tree)
> Why not passing special object with such objects as attributes?
>
Passing a special object is the planned direction. We'll obviously need
to deprecate the old method over time, communicate the new API, etc.
when the time comes.
Ian C.
More information about the bazaar
mailing list