Edgewall Software

Ticket #1032 (closed enhancement: fixed)

Opened 4 years ago

Last modified 3 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:

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 4 years ago by rmunn@…

Changed 4 years ago by rmunn@…

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.

Changed 4 years ago by cboos@…

It works, but what gets actually displayed for e.g. r123 is still the usual [123]. Was that intended? I see no problem with that, however, it will tell people the "right" notation to use :)

Changed 4 years ago by cmlenz

  • keywords helpwanted added

Changed 4 years ago by cmlenz

  • owner changed from jonas to cmlenz
  • status changed from new to assigned
  • milestone set to 0.9

Changed 4 years ago by cmlenz

  • description modified (diff)

Changed 4 years ago by cmlenz

  • status changed from assigned to closed
  • resolution set to fixed

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.

Changed 3 years ago by cboos

r2165 added support for "Merged my-calc-branch changes r406:480 into the trunk"

Add/Change #1032 ([patch] Recognize Subversion-style revision numbers (rNNNN) as a changeset link)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.