Menu

Commit [r8378]  Maximize  Restore  History

MultiRepos: More improvements to the commit ticket updater plugin:

* In the ticket comment, wrap the commit message in a `ChangesetMessage` wiki processor call containing the repository name and the revision. This allows extracting the message from the repository and has the following advantages:
- It can be formatted according to the current `[changeset] wiki_format_messages` option.
- It is always up-to-date, even if the message is modified.
- The ticket comment can be hidden if the message is modified and it doesn't reference the ticket anymore.
- As the initial changeset message is contained in the body of the wiki processor call, it is visible in the (plain text) notification e-mail.

* A special value `<ALL>` in `[ticket] commit_ticket_update_commands.refs` will generate a ticket comment for all tickets referenced by the message, even if no command is given.

Closes #1507.

rblank 2009-07-27

changed /sandbox/multirepos/sample-plugins/commit_ticket_update.py
/sandbox/multirepos/sample-plugins/commit_ticket_update.py Diff Switch to side-by-side view
Loading...