6,566
edits
No edit summary |
(Added support for the tag parameter for SourceForge SVN repositories.) |
||
Line 125: | Line 125: | ||
| commit = | | commit = | ||
| #default =<!-- Set the view based on the user supplied parameters. | | #default =<!-- Set the view based on the user supplied parameters. | ||
-->{{#if: {{{branch|{{{path|}}}}}} | -->{{#if: {{{tag|{{{branch|{{{path|}}}}}}}}} | ||
| tree/ | | tree/ | ||
| {{#if: {{{commit|}}} | | {{#if: {{{commit|}}} | ||
Line 141: | Line 141: | ||
-->{{#switch: {{{type|}}} | -->{{#switch: {{{type|}}} | ||
| svn = <!-- | | svn = <!-- | ||
-->{{{branch|trunk}}}<!-- | -->{{{tag|{{{branch|trunk}}}}}}<!-- The tag or branch (default = trunk). | ||
-->{{#if: {{{path|}}} | /{{{path}}} }}<!-- The file path. | -->{{#if: {{{path|}}} | /{{{path}}} }}<!-- The file path. | ||
-->{{#if: {{{commit|}}} | @r{{{commit}}} }}<!-- The optional revision number. --> | -->{{#if: {{{commit|}}} | @r{{{commit}}} }}<!-- The optional revision number. --> | ||
| svn web = <!-- | | svn web = <!-- | ||
-->{{#if: {{{branch|{{{path|}}}}}} <!-- | -->{{#if: {{{tag|{{{branch|{{{path|}}}}}}}}} <!-- Only show the tag, branch, path, and line number if a tag, branch or path is supplied. --> | ||
| {{{branch|trunk}}}<!-- | | {{{tag|{{{branch|trunk}}}}}}<!-- The base path or branch (default = trunk). | ||
-->{{#if: {{{path|}}} | -->{{#if: {{{path|}}} | ||
| /{{{path}}}<!-- The file path. | | /{{{path}}}<!-- The file path. | ||
Line 169: | Line 169: | ||
| commit = | | commit = | ||
| #default = <!-- | | #default = <!-- | ||
-->{{#if: {{{branch|{{{path|}}}}}} | -->{{#if: {{{tag|{{{branch|{{{path|}}}}}}}}} | ||
| /{{{branch|trunk}}} | | /{{{tag|{{{branch|trunk}}}}}} | ||
}} | }} | ||
}} | }} | ||
Line 190: | Line 190: | ||
| rss = <nowiki></nowiki> RSS feed | | rss = <nowiki></nowiki> RSS feed | ||
| #default =<!-- Set the view based on the user supplied parameters. | | #default =<!-- Set the view based on the user supplied parameters. | ||
-->{{#if: {{{branch|{{{path|}}}}}} | -->{{#if: {{{tag|{{{branch|{{{path|}}}}}}}}} | ||
| | | | ||
| {{#if: {{{commit|}}} | | {{#if: {{{commit|}}} |