Opened 4 years ago

#10008 new enhancement

Eclipse MyLyn default Trac commit message format issue

Reported by: anonymous Owned by: mrelbe
Priority: normal Component: TracTicketChangesetsPlugin
Severity: minor Keywords:
Cc: Trac Release: 0.12


The Mylyn plugin to Eclipse (and derivatives like Zend Studio) formats the SVN commit messages as such by default:

ACCEPTED - # 41: Ticket title,
URL to ticket in Trac
commit message

In, on line: 157, your regex doesn't catch the space between # and the ticket number
This causes the commits not getting associated with the Trac ticket.

Alter it as such to match either case: # number or #number

ticket_prefix = '(?:#\s?|(?:ticket|issue|bug)[: ]?)'

This might help people using Eclipse with Mylin in getting their past tickets recognized by your Trac plugin, even if they've changed their settings to match the expected #number format going forward.

Attachments (0)

Change History (0)

Add Comment

Modify Ticket

as new The owner will remain mrelbe.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.