Edgewall Software
Modify

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#9685 closed enhancement (worksforme)

An ability to reference multiple tickets in one SVN commit

Reported by: team@… Owned by:
Priority: normal Milestone:
Component: general Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Now I can commit to SVN with a specially encoded comment, and Trac ticket will be updated automatically (if my post-commit SVN hook makes necessary operations). The problem is that I can reference only one ticket in one commit. Would be nice to have an ability to reference a number of them, for example:

refs #123 and #22 and #433 - some important changes

Trac has to parse this text and update three tickets with a reference to one SVN commit.

Attachments (0)

Change History (3)

comment:1 by Remy Blank, 14 years ago

Resolution: worksforme
Status: newclosed

Have you actually tried? This is already possible, and your syntax would be parsed correctly. The separator can be any one of space, ",", "&" or " and ". There is currently a restriction that the "refs" keyword and all tickets in the list must be on the same line, however.

That's in 0.12. I'm not sure about earlier versions.

comment:2 by team@…, 14 years ago

Thanks for the explanation. Maybe it will be useful to mention this possibility in documentation?

comment:3 by Remy Blank, 14 years ago

It is (since 0.12), in the plugin documentation that you can read on the plugins admin page. Look for the component tracopt.ticket.commit_updater.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.