New BBCode tag for linking to SVN revisions?

tobik@

Developer
Would it be possible to add a new BBCode tag for linking to SVN revisions to the forums? Something like:
Code:
[svn=$repo]$revision[/svn]
 -> https://svnweb.freebsd.org/$repo?view=revision&revision=$revision
where $repo is one of base,doc,ports,... (defaulting to ports if missing) and $revision is the SVN revision to link to.

For example [svn=ports]409799[/svn] would link to https://svnweb.freebsd.org/ports?view=revision&revision=409799 and be shown as Ports r409799.

This would complement the existing pr tag.
 
I think we could do something like this, although maybe it should be called revnumber or just rev, which is not Subversion-specific and is consistent with our DocBook markup.

But how bad do we need it? People posting links to specific revisions is pretty rare at present. In fairness, that might be due to the hassle of finding the URL and copying it in.
 
Back
Top