Open main menu

Changes

Template:Relax svn source

4,991 bytes added, 19:39, 25 October 2017
Creation of the {{relax svn source}} template by copying {{relax source}}.
{{repo link
| site = sf
| cmd{{#if:{{{cmd|}}}||NULL}} = {{{cmd}}}
| opt{{#if:{{{opt|}}}||NULL}} = {{{opt}}}
| protocol{{#if:{{{protocol|}}}||NULL}} = {{{protocol}}}
| login{{#if:{{{login|}}}||NULL}} = {{{login}}}
| type = {{{type|svn web}}}
| proj = nmr-relax
| repo = code-svn-archive
| branch{{#if:{{{branch|{{{b|}}}}}}||NULL}} = {{{branch|{{{b}}}}}}
| tag{{#if:{{{tag|}}}||NULL}} = {{{tag}}}
| path{{#if:{{{path|{{{f|{{{1|}}}}}}}}}||NULL}} = {{{path|{{{f|{{{1}}}}}}}}}
| commit{{#if:{{{commit|{{{c|}}}}}}||NULL}} = {{{commit|{{{c}}}}}}
| line{{#if:{{{line|{{{l|}}}}}}||NULL}} = {{{line|{{{l}}}}}}
| view{{#if:{{{view|{{{v|}}}}}}||NULL}} = {{{view|{{{v}}}}}}
| text{{#if:{{{text|{{{t|}}}}}}||NULL}} = {{{text|{{{t}}}}}}
| pre{{#if:{{{pre|}}}||NULL}} = {{{pre}}}
| post{{#if:{{{post|}}}||NULL}} = {{{post}}}
| simplepath{{#if:{{{simplepath|}}}||NULL}} = {{{simplepath}}}
| full{{#if:{{{full|}}}||NULL}} = {{{full}}}
}}<noinclude>

{{repo link/doc svn source
| label = relax
| repo = relax
| examples =
=== No parameters ===
{{obr}}relax svn source{{cbr}}
{{relax svn source}}

=== The repository ===
{{obr}}relax svn source
{{!}} text = The relax svn source repository
{{cbr}}

{{relax svn source
| text = The relax svn source repository
}}

=== File ===
{{obr}}relax svn source
{{!}} path = pipe_control/diffusion_tensor.py
{{cbr}}

{{relax svn source
| path = pipe_control/diffusion_tensor.py
}}

=== File and a branch ===

{{obr}}relax svn source
{{!}} path = maths_fns/chi2.py
{{!}} branch = branches/cst
{{cbr}}

{{relax svn source
| path = maths_fns/chi2.py
| branch = branches/cst
}}

=== File and a tag ===
{{obr}}relax svn source
{{!}} path = pipe_control/diffusion_tensor.py
{{!}} tag = tags/4.0.3
{{cbr}}

{{relax svn source
| path = pipe_control/diffusion_tensor.py
| tag = tags/4.0.3
}}

=== File and a commit ===
{{obr}}relax svn source
{{!}} path = data_store/exp_info.py
{{!}} commit = 20143
{{cbr}}

{{relax svn source
| path = data_store/exp_info.py
| commit = 20143
}}

=== Commit ===
{{obr}}relax svn source
{{!}} commit = 28287
{{!}} view = commit
{{cbr}}

{{relax svn source
| commit = 28287
| view = commit
}}

=== File and line number ===
{{obr}}relax svn source
{{!}} path = gui/spin_viewer/tree.py
{{!}} line = 68
{{cbr}}

{{relax svn source
| path = gui/spin_viewer/tree.py
| line = 68
}}

=== File, line number, and commit ===
{{obr}}relax svn source
{{!}} path = gui/spin_viewer/tree.py
{{!}} commit = 17225
{{!}} line = 546
{{cbr}}

{{relax svn source
| path = gui/spin_viewer/tree.py
| commit = 17225
| line = 546
}}

=== Custom label given ===
{{obr}}relax svn source
{{!}} path = gui/spin_viewer/tree.py
{{!}} text = The spin viewer window tree element
{{cbr}}

{{relax svn source
| path = gui/spin_viewer/tree.py
| text = The spin viewer window tree element
}}

=== Prefix of $RELAX_SVN_SRC ===
{{obr}}relax svn source
{{!}} path = gui/spin_viewer/tree.py
{{!}} pre = $RELAX_SVN_SRC
{{cbr}}

{{relax svn source
| path = gui/spin_viewer/tree.py
| pre = $RELAX_SVN_SRC
}}

=== Full path ===
{{obr}}relax svn source
{{!}} path = gui/spin_viewer/tree.py
{{!}} commit = 17225
{{!}} line = 546
{{!}} full = 1
{{cbr}}

{{relax svn source
| path = gui/spin_viewer/tree.py
| commit = 17225
| line = 546
| full = 1
}}

=== SVN checkout ===
This is for <code><nowiki>svn co svn://svn.code.sf.net/p/nmr-relax/code-svn-archive/trunk</nowiki></code>.

{{obr}}#tag:code{{!}}{{obr}}#tag:nowiki{{!}}{{obr}}relax svn source
{{!}} cmd = svn co
{{!}} protocol = svn
{{!}} type = svn
{{!}} post = relax-svn-trunk
{{!}} full = 1
{{cbr}}{{cbr}}{{cbr}}.

{{#tag:code|{{#tag:nowiki|{{relax svn source
| cmd = svn co
| protocol = svn
| type = svn
| post = relax-svn-trunk
| full = 1
}}}}}}.

=== Aliased parameters ===
This is for https://sourceforge.net/p/nmr-relax/code-svn-archive/9407/tree/branches/j_couplings/generic_fns/align_tensor.py.

{{obr}}relax svn source
{{!}} f = generic_fns/align_tensor.py
{{!}} b = branches/j_couplings
{{!}} c = 9407
{{!}} full = 1
{{cbr}}

{{relax svn source
| f = generic_fns/align_tensor.py
| b = branches/j_couplings
| c = 9407
| full = 1
}}

=== Numbered parameters ===
This is for https://sourceforge.net/p/nmr-relax/code-svn-archive/9407/tree/branches/j_couplings/generic_fns/align_tensor.py.

{{obr}}relax svn source {{!}} generic_fns/align_tensor.py {{!}} b = branches/j_couplings {{!}} c = 9407 {{!}} full = 1 {{cbr}}

{{relax svn source | generic_fns/align_tensor.py | b = branches/j_couplings | c = 9407 | full = 1 }}

}}</noinclude>
Trusted, Bureaucrats
4,228

edits