snipt

Ctrl+h for KB shortcuts

Bash

checkout subversion project into working copy

svn checkout file:///path/to/repos/name-of-project/trunk name-of-destination-directory/
https://snipt.net/embed/7d941597e155755f695697a5a5a9b0f7/
/raw/7d941597e155755f695697a5a5a9b0f7/
7d941597e155755f695697a5a5a9b0f7
bash
Bash
1
2019-06-10T00:10:16
True
False
False
/api/public/snipt/2428/
checkout-subversion-project-into-working-copy
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>svn checkout file:///path/to/repos/name-of-project/trunk name-of-destination-directory/ </span></pre></div> </td></tr></table>
bash, subversion

Bash

import directory as a new project into a subversion repository

svn import name-of-folder file:///path/to/repos -m 'First Import'
https://snipt.net/embed/fefcbf4db0e8a1f21910a43bbba7bb77/
/raw/fefcbf4db0e8a1f21910a43bbba7bb77/
fefcbf4db0e8a1f21910a43bbba7bb77
bash
Bash
1
2019-06-05T08:53:13
True
False
False
/api/public/snipt/2427/
import-directory-as-a-new-project-into-a-subversion-repository
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>svn import name-of-folder file:///path/to/repos -m <span class="s1">&#39;First Import&#39;</span> </span></pre></div> </td></tr></table>
bash, subversion

Bash

create a subversion repository from the command line

svnadmin create repos
https://snipt.net/embed/b727d9ada23852dfe6ea36bea0b32177/
/raw/b727d9ada23852dfe6ea36bea0b32177/
b727d9ada23852dfe6ea36bea0b32177
bash
Bash
1
2019-06-08T14:53:39
True
False
False
/api/public/snipt/2426/
create-a-subversion-repository-from-the-command-line
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>svnadmin create repos </span></pre></div> </td></tr></table>
bash, subversion

Bash

add subversion package installation to path

PATH=~/path/to/installation/bin
export PATH
https://snipt.net/embed/8b64e33a449595161794ee459729ec20/
/raw/8b64e33a449595161794ee459729ec20/
8b64e33a449595161794ee459729ec20
bash
Bash
2
2019-06-06T04:21:47
True
False
False
/api/public/snipt/2424/
add-subversion-package-installation-to-path
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="nv">PATH</span><span class="o">=</span>~/path/to/installation/bin </span><span id="L-2"><a name="L-2"></a><span class="nb">export</span> PATH </span></pre></div> </td></tr></table>
bash, subversion

Bash

configure subversion package installation

./configure --prefix=/path/to/installation
https://snipt.net/embed/8f01cd61bc09f7c331f8be63913d30c7/
/raw/8f01cd61bc09f7c331f8be63913d30c7/
8f01cd61bc09f7c331f8be63913d30c7
bash
Bash
1
2019-06-14T10:52:29
True
False
False
/api/public/snipt/2421/
configure-subversion-package-installation
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>./configure --prefix<span class="o">=</span>/path/to/installation </span></pre></div> </td></tr></table>
bash, subversion

Bash

extract subversion dependencies

tar -xzvf subversion-deps-1.4.5.tar.gz
https://snipt.net/embed/455d029d1aaa7c159a8a1fd19d6aa60c/
/raw/455d029d1aaa7c159a8a1fd19d6aa60c/
455d029d1aaa7c159a8a1fd19d6aa60c
bash
Bash
1
2019-06-13T13:56:07
True
False
False
/api/public/snipt/2420/
extract-subversion-dependencies
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>tar -xzvf subversion-deps-1.4.5.tar.gz </span></pre></div> </td></tr></table>
bash, subversion

Bash

extract subversion package

tar -xzvf subversion-1.4.5.tar.gz
https://snipt.net/embed/47c5cfb04badc0bc0b431c558b36141c/
/raw/47c5cfb04badc0bc0b431c558b36141c/
47c5cfb04badc0bc0b431c558b36141c
bash
Bash
1
2019-05-26T00:39:04
True
False
False
/api/public/snipt/2419/
extract-subversion-package
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>tar -xzvf subversion-1.4.5.tar.gz </span></pre></div> </td></tr></table>
bash, subversion

Bash

download subversion dependencies

wget http://subversion.tigris.org/downloads/subversion-deps-1.4.5.tar.gz
https://snipt.net/embed/18bb85ea45df4066a31f23bbdb037c7d/
/raw/18bb85ea45df4066a31f23bbdb037c7d/
18bb85ea45df4066a31f23bbdb037c7d
bash
Bash
1
2019-06-06T20:58:42
True
False
False
/api/public/snipt/2418/
download-subversion-dependencies
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>wget http://subversion.tigris.org/downloads/subversion-deps-1.4.5.tar.gz </span></pre></div> </td></tr></table>
bash, subversion

Bash

download subversion package

wget http://subversion.tigris.org/downloads/subversion-1.4.5.tar.gz
https://snipt.net/embed/961bf145dfb583eb3299594ae83d7e3e/
/raw/961bf145dfb583eb3299594ae83d7e3e/
961bf145dfb583eb3299594ae83d7e3e
bash
Bash
1
2019-06-10T03:38:02
True
False
False
/api/public/snipt/2417/
download-subversion-package
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>wget http://subversion.tigris.org/downloads/subversion-1.4.5.tar.gz </span></pre></div> </td></tr></table>
bash, subversion

Bash

how to run dry-run of a subversion merge

svn merge svn+ssh://[email protected]/path/to/repos/project-x/trunk svn+ssh://[email protected]/path/to/repos/project-x/tags/REL-1-0-1 --dry-run
https://snipt.net/embed/4b7e80247c4eb9a0a35a8517ec8a498e/
/raw/4b7e80247c4eb9a0a35a8517ec8a498e/
4b7e80247c4eb9a0a35a8517ec8a498e
bash
Bash
1
2019-06-07T18:58:45
True
False
False
/api/public/snipt/2393/
how-to-run-dry-run-of-a-subversion-merge
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>svn merge svn+ssh://[email protected]/path/to/repos/project-x/trunk svn+ssh://[email protected]/path/to/repos/project-x/tags/REL-1-0-1 --dry-run </span></pre></div> </td></tr></table>
bash, merge, subversion