[qbzr] qcommit: support for templates/drafts of commit message?

Andrew Bennetts andrew.bennetts at canonical.com
Thu Apr 29 14:00:51 BST 2010


Alexander Belchenko wrote:
[...]
> >It seems bzr has some sort of the hooks to get the message template.
> >http://doc.bazaar.canonical.com/bzr.2.1/en/user-reference/hooks-help.html#commit-message-template
> >
> >
> >Maybe we need to use that hook in qcommit?
> 
> Quick chat with Jelmer and Andrew in #bzr reveals that this hook is
> CLI-only thing and should be used only when actual commit is
> started. Therefore we can't use it.
> 
> Should we invent our own hook? Why not?

(I think the claim that it is CLI-only is too strong, as I tried to
explain on IRC.)

Jelmer's suggestion that you propose an interface for the hook that
you'd like to use is a good one.  It will help us understand your
requirements better, specifically exactly what information you feel
should be available to the hook to help it generate the template.

-Andrew.




More information about the bazaar mailing list