vfclists
vfclists

Reputation: 20241

Does fossil have a command to link a ticket resolution with a commit?

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.

Upvotes: 2

Views: 1013

Answers (1)

Martijn
Martijn

Reputation: 13632

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:

Upvotes: 2

Related Questions