Repository Hosting

Repository Hosting: Unlimited Subversion, Git, Mercurial, and Trac Projects

Rh
VCS Hosting

Change Ticket Status with Log Messages

07 апреля 2009 07:40 | Добавлено в Новые Возможности

Did you know that you can affect ticket status using your commit log messages?

If a project is setup to process commit messages (this can be changed from the Project Settings screen), the following commands entered into your commit log message have the potential to affect ticket status:

close, closed, closes, fix, fixed, fixes
  The specified issue numbers are closed with the contents of this 
   commit message being added to it.

references, refs, addresses, re, see
  The specified issue numbers are left in their current status, but 
   the contents of this commit message are added to their notes.

When processing the log message, commit messages are searched for text in the following form:

command #1
command #1, #2
command #1 & #2
command #1 and #2

You can also have more than one command in a message. The following commands are supported. There is more then one spelling for each command, to make this as user-friendly as possible.

A fairly complicated example of what you can do is with a commit message of:

Changed blah and foo to do this or that. Fixes #10 and #12, and refs #12.

This will close #10 and #12, and add a note to #12.

Enjoy!

Комментарии

Пока нет Комментарий
Комментарии были закрыты для этого сообщения.

Общественный