#9685 closed enhancement (worksforme)
An ability to reference multiple tickets in one SVN commit
Reported by: | 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 , 14 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:2 by , 14 years ago
Thanks for the explanation. Maybe it will be useful to mention this possibility in documentation?
comment:3 by , 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
.
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.