[qbzr] qcommit: support for templates/drafts of commit message?
Alexander Belchenko
bialix at ukr.net
Thu Apr 29 13:33:34 BST 2010
Alexander Belchenko пишет:
> Hi Gary,
>
> We have NEWS.txt file in the qbzr sources, and many other projects have
> something similar. Many projects using Changelog files, etc.
>
> I'm often create commit message based on the changelog entry by open
> diff for that file, copy-paste added text, then edit if necessary.
> I wonder we might catch the diff from such changelog/news files and use
> newly added texts as the template of commit message.
>
> 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?
--
All the dude wanted was his rug back
More information about the bazaar
mailing list