Template:Src: Difference between revisions

From GRASS-Wiki
Jump to navigation Jump to search
mNo edit summary
(Template: update versions)
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
<span class="plainlinks">[http://trac.osgeo.org/grass/browser/grass/{{{branch|branches/develbranch_6}}}/{{{1}}} {{{1}}}]</span><noinclude>
<includeonly><span class="plainlinks">[http://trac.osgeo.org/grass/browser/grass/{{{branch|trunk}}}/{{{1}}} {{{1}}}]</span></includeonly><noinclude>GRASS Trac SVN source code browser semi-external link. Usage:
 
GRASS trac SVN source code browser semi-external link. Usage:


  <nowiki>{{src|path/filename.c}}</nowiki>
  <nowiki>{{src|path/filename.c}}</nowiki>
Line 7: Line 5:
or
or


  <nowiki>{{src|path/filename.c|branch=trunk}}</nowiki>
  <nowiki>{{src|path/filename.c|branch=branches/releasebranch_7_6}}</nowiki>


The default branch is currently set to ''branches/develbranch_6''
The default is currently set to ''trunk'' (GRASS 7)
<!-- had to pick something, and 'branch=trunk' is easier to type in manually -->
* for GRASS 7.4.svn use <tt>branches/releasebranch_7_4</tt>
* for GRASS 7.6.svn use <tt>branches/releasebranch_7_6</tt>


For example
For example

Revision as of 12:36, 18 January 2019

GRASS Trac SVN source code browser semi-external link. Usage:

{{src|path/filename.c}}

or

{{src|path/filename.c|branch=branches/releasebranch_7_6}}

The default is currently set to trunk (GRASS 7)

  • for GRASS 7.4.svn use branches/releasebranch_7_4
  • for GRASS 7.6.svn use branches/releasebranch_7_6

For example

{{src|raster/r.info/main.c}}

creates

raster/r.info/main.c