6,609
edits
(Created a template for standardising the checkout of the fgaddon subversion repository.) |
m (Switch from the temporary {{project infrastructure/code}} template to {{project infrastructure}} template with the mode set to 'abbrev'.) |
||
| (19 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{#tag:nowiki|{{repo link | |||
| site = {{project infrastructure|abbrev}} | |||
| cmd = svn co | |||
| opt{{#if:{{{opt|}}}||NULL}} = {{{opt}}} | |||
| protocol = {{#if: {{{login|}}} | svn+ssh | https}} | |||
| login{{#if:{{{login|}}}||NULL}} = {{{login}}} | |||
| type = svn | |||
| repo = fgaddon | |||
| branch{{#if:{{{branch|{{{b|{{{1|}}}}}}}}}||NULL}} = {{{branch|{{{b|{{{1}}}}}}}}} | |||
| path{{#if:{{{path|{{{f|{{{2|}}}}}}}}}||NULL}} = {{{path|{{{f|{{{2}}}}}}}}} | |||
| post = {{{post|fgaddon}}} | |||
| full = 1 | |||
}}}}<noinclude> | |||
{{Informative template|1= | {{Informative template|1= | ||
__NOTOC__ | __NOTOC__ | ||
| Line 5: | Line 17: | ||
To provide a consistent representation of the command to checkout the FGAddon subversion repository. | To provide a consistent representation of the command to checkout the FGAddon subversion repository. | ||
== | {{repo link/doc usage | ||
| template = fgaddon co | |||
| value_cmd = svn co | |||
| opt = 1 | |||
| login = 1 | |||
| branch = 1 | short_branch = b | pos_branch = 1 | |||
| path = 1 | short_path = f | pos_path = 2 | |||
| post = 1 | default_post = fgaddon | |||
| sf = 1 | |||
| svn = 1 | |||
| break = 0 | |||
}} | |||
== | {{repo link/doc plain text}} | ||
{{obr}}fgaddon co{{cbr}} | |||
{{fgaddon co}} | == Examples == | ||
=== Checkout of trunk with user name === | |||
{{obr}}fgaddon co | |||
{{!}} opt = --username <username> | |||
{{!}} post = fgaddon | |||
{{cbr}} | |||
{{fgaddon co | |||
| opt = --username <username> | |||
| post = fgaddon | |||
}} | |||
=== Checkout of aircraft from a branch === | |||
{{obr}}fgaddon co | |||
{{!}} branch = branches/release-3.4.0 | |||
{{!}} path = Aircraft/V22-Osprey | |||
{{!}} post = | |||
{{cbr}} | |||
{{fgaddon co | |||
| branch = branches/release-3.4.0 | |||
| path = Aircraft/V22-Osprey | |||
| post = | |||
}} | |||
=== Checkout of aircraft as a user === | |||
{{obr}}fgaddon co | |||
{{!}} login = <username> | |||
{{!}} path = Aircraft/wrightFlyer1903 | |||
{{!}} post = | |||
{{cbr}} | |||
{{fgaddon co | |||
| login = <username> | |||
| path = Aircraft/wrightFlyer1903 | |||
| post = | |||
}} | |||
=== Aliased parameters === | |||
{{obr}}fgaddon co | |||
{{!}} b = branches/release-3.2.0 | |||
{{!}} f = Aircraft/V22-Osprey | |||
{{cbr}}. | |||
{{fgaddon co | |||
| b = branches/release-3.2.0 | |||
| f = Aircraft/V22-Osprey | |||
}}. | |||
=== Numbered parameters === | |||
{{obr}}fgaddon co {{!}} branches/release-3.2.0 {{!}} Aircraft/V22-Osprey {{cbr}}. | |||
{{fgaddon co | branches/release-3.2.0 | Aircraft/V22-Osprey }}. | |||
== Related templates == | == Related templates == | ||
{{repo link/doc related}} | {{repo link/doc related}} | ||
}}</noinclude> | }} | ||
[[Category:SCM Instruction Templates]] | |||
</noinclude> | |||