Does the fossil ticket
command have the option to link a fix for an issue with a specific commit? I need something along the lines of Redmine's option which enables you to link a commit with an issue by the refs #issueid
syntax.
Asked
Active
Viewed 875 times
1 Answers
2
Fossil doesn't have a separate command for this; but if you include the ticket ID between [square brackets] in the commit's description, the commit will automatically be linked to that ticket.
You can view the list of all commits associated with a ticket by clicking the 'Check-ins' menu item on the ticket's page, or directly by opening the http(s)://
fossil-root/tkttimeline/
ticket-id?y=ci
page.
For example, the following page shows the commits related to the ticket with id b6eea9446d
of Fossil's own source code repository:

Martijn
- 13,225
- 3
- 48
- 58
-
Redmine has the ability to change a ticket's status if the ticket id is prefixed by a string such as `fixes` or `references`. Doesn't Fossil have this capability? – vfclists Apr 23 '15 at 22:30
-
@vfclists: no, fossil doesn't automatically change ticket fields. You have to do that using the command line [ticket](http://fossil-scm.org/fossil/help?cmd=ticket) command or the ticket's web page. – Martijn Apr 24 '15 at 09:51