snipt

Ctrl+h for KB shortcuts

Bash

merge changes from a branch into the main trunk

svn merge -r30:HEAD <svn branch path>
https://snipt.net/embed/6ac61a8d14d87fd481a588272b82a824/
/raw/6ac61a8d14d87fd481a588272b82a824/
6ac61a8d14d87fd481a588272b82a824
bash
Bash
1
2019-05-13T09:35:14
True
False
False
/api/public/snipt/3244/
merge-changes-from-a-branch-into-the-main-trunk
<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 -r30:HEAD &lt;svn branch path&gt; </span></pre></div> </td></tr></table>
svn

Bash

find the revision from which a branch was copied

svn log --verbose --stop-on-copy <svn repository path>
https://snipt.net/embed/b083c7e09966ba3d1ec64439f0ba44f8/
/raw/b083c7e09966ba3d1ec64439f0ba44f8/
b083c7e09966ba3d1ec64439f0ba44f8
bash
Bash
1
2019-05-24T04:31:11
True
False
False
/api/public/snipt/3243/
find-the-revision-from-which-a-branch-was-copied
<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 log --verbose --stop-on-copy &lt;svn repository path&gt; </span></pre></div> </td></tr></table>
svn

Bash

ignore all of the pyc files

svn propset svn:ignore '*.pyc' library/python
https://snipt.net/embed/37d6e79c2558f375dc5d65d4e1a11c8f/
/raw/37d6e79c2558f375dc5d65d4e1a11c8f/
37d6e79c2558f375dc5d65d4e1a11c8f
bash
Bash
1
2019-05-09T11:40:45
True
False
False
/api/public/snipt/1016/
ignore-all-of-the-pyc-files
<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 propset svn:ignore <span class="s1">&#39;*.pyc&#39;</span> library/python </span></pre></div> </td></tr></table>
python, svn

Bash

ignore everything in the ext directory

svn propset svn:ignore '*' ext
https://snipt.net/embed/2cbb707d72517bdb8f6aef16934fddb8/
/raw/2cbb707d72517bdb8f6aef16934fddb8/
2cbb707d72517bdb8f6aef16934fddb8
bash
Bash
1
2019-05-11T22:37:45
True
False
False
/api/public/snipt/1015/
ignore-everything-in-the-ext-directory
<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 propset svn:ignore <span class="s1">&#39;*&#39;</span> ext </span></pre></div> </td></tr></table>
svn