Template:Src: Difference between revisions

From GRASS-Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<span class="plainlinks">[http://trac.osgeo.org/grass/browser/grass/{{{branch|branches/develbranch_6}}}/{{{1}}} {{{1}}}]</span><noinclude>
<span class="plainlinks">[http://trac.osgeo.org/grass/browser/grass/{{{branch|branches/develbranch_6}}}/{{{1}}} {{{1}}}]</span><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 7:
or
or


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


The default branch is currently set to ''branches/develbranch_6''
The default branch is currently set to ''trunk'' (GRASS 7)
<!-- had to pick something, and 'branch=trunk' is easier to type in manually -->
* for GRASS 6.5 use <tt>branches/develbranch_6</tt>
* for GRASS 6.4 use <tt>branches/releasebranch_6_4</tt>


For example
For example

Revision as of 12:32, 12 April 2011

{{{1}}}

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

{{src|path/filename.c}}

or

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

The default branch is currently set to trunk (GRASS 7)

  • for GRASS 6.5 use branches/develbranch_6
  • for GRASS 6.4 use branches/releasebranch_6_4

For example

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

creates

raster/r.info/main.c