Ticket #1032 (closed enhancement: fixed)
Opened 7 years ago
Last modified 6 years ago
[patch] Recognize Subversion-style revision numbers (rNNNN) as a changeset link
| Reported by: | rmunn@… | Owned by: | cmlenz |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.9 |
| Component: | wiki system | Version: | 0.8 |
| Severity: | normal | Keywords: | wikiformatter helpwanted |
| Cc: | |||
| Release Notes: | |||
| API Changes: | |||
Description (last modified by cmlenz) (diff)
Currently (as of Trac 0.8), the Wiki recognizes [N] as a changeset link, and will recognize that syntax in commit log messages. But the traditional format for writing Subversion revision numbers is rNNNN. See, for instance, http://svnbook.red-bean.com/en/1.1/ch04s04.html, where commit log messages like "Merged my-calc-branch changes r406:480 into the trunk" or "Undoing change committed in r303" are given as examples.
I propose that WikiFormatter.py should recognize not just [N] format, but also rNNNN format, as a changeset link.
Attachments
Change History
Changed 7 years ago by rmunn@…
- Attachment patch-recognize-subversion-style-revision-numbers-r1111.diff added
comment:1 Changed 7 years ago by rmunn@…
comment:2 Changed 7 years ago by cboos@…
comment:3 Changed 7 years ago by cmlenz
- Keywords helpwanted added
comment:4 Changed 7 years ago by cmlenz
- Milestone set to 0.9
- Owner changed from jonas to cmlenz
- Status changed from new to assigned
comment:5 Changed 7 years ago by cmlenz
- Description modified (diff)
comment:6 Changed 7 years ago by cmlenz
- Resolution set to fixed
- Status changed from assigned to closed
This notation has been added to the wiki formatter in [1224]. Forgot to mention this change in the log message, sorry. Only lower case 'r' prefix is matched.



Please note that I have not yet tested this patch. I should have a working Trac installation in a week or so; when I do, I'll test my patch and update this ticket if testing reveals any problems.