Template:Openscenegraph co

From FlightGear wiki
Revision as of 19:01, 29 February 2016 by Bugman (talk | contribs) (Wrapped the last example up in <code> tags.)
Jump to navigation Jump to search

svn co http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk osg

The following template description is not displayed when the template is inserted in an article.

Goal

To provide a consistent representation of the command to checkout the OpenSceneGraph subversion repository.

Usage

{{openscenegraph co
| opt    =
| login  =
| branch =
| path   =
| post   =
}}
opt
Any additional options to show after svn co.
login
The optional user login.
branch
The svn branch or tag name. This defaults to trunk.
path
The file path.
post
Any optional text to show after the URL. This defaults to osg.

Examples

Checkout of trunk

This should produce the text svn co http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk osg.

{{openscenegraph co}}

svn co http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk osg

Checkout of trunk with user name

This should produce the text svn co svn+ssh://<username>@svn.openscenegraph.org/osg/OpenSceneGraph/trunk osg.

{{#tag:code|{{openscenegraph co
| login = <username>
}}}}

svn co svn+ssh://<username>@svn.openscenegraph.org/osg/OpenSceneGraph/trunk osg

Related templates