associate a commit with a ticket retrospectively

122 Views Asked by At

When committing, I used by mistake the ActifactID of ticket change instead of the ticket hash label:

fossil commit -m "Workaround X [58480ac08c]"

In fossil ui, it is still a clickable link and leads to the ticket. However, the check-in does not appear under "Check-ins Associated With Ticket".

Is there a way to associate a check-in with a ticket retrospectively?

2

There are 2 best solutions below

0
trapper_hag On BEST ANSWER

On the command line, you can use 'fossil amend'.

0
Xpector On

Found in https://stackoverflow.com/a/3787977

In fossil ui, open check-in's properties and click on edit. The comment text can be changed there (to include the correct ticket hash label).