snipt

Ctrl+h for KB shortcuts

Text only

cvs override and update

Remember that when moving changes, you can only change individual lines in your local copy. If there are conflicts, you must compare the two files, and copy any changes you want to keep to YOUR local copy first. Then save your altered local copy, making sure that is exactly what you want on the repository ultimately, and then override and commit, which will replace the repository version of the file with your version. If you think the repository version is what you want locally, you can select override and update, which will replace your local copy with what is on the repository. 
https://snipt.net/embed/30c0b4e40d816d121e3c230a1ce46807/
https://snipt.net/raw/30c0b4e40d816d121e3c230a1ce46807/
30c0b4e40d816d121e3c230a1ce46807
text
Text only
1
2016-09-24T18:02:06
True
False
False
/api/public/snipt/22156/
cvs-override-and-update
<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 id="L-1"><a name="L-1"></a>Remember that when moving changes, you can only change individual lines in your local copy. If there are conflicts, you must compare the two files, and copy any changes you want to keep to YOUR local copy first. Then save your altered local copy, making sure that is exactly what you want on the repository ultimately, and then override and commit, which will replace the repository version of the file with your version. If you think the repository version is what you want locally, you can select override and update, which will replace your local copy with what is on the repository. </span></pre></div> </td></tr></table>
cvs, scm

Bash

checkout drupal contrib module

cvs -z6 -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal-contrib checkout -r <version tag> -d moduleName contributions/modules/moduleName
https://snipt.net/embed/55ac008d59c1d06c0ee724b88b23f416/
https://snipt.net/raw/55ac008d59c1d06c0ee724b88b23f416/
55ac008d59c1d06c0ee724b88b23f416
bash
Bash
1
2016-09-23T01:06:48
True
False
False
/api/public/snipt/3321/
checkout-drupal-contrib-module
<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 id="L-1"><a name="L-1"></a>cvs -z6 -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal-contrib checkout -r &lt;version tag&gt; -d moduleName contributions/modules/moduleName </span></pre></div> </td></tr></table>
checkout, contrib, cvs, drupal, modules

Bash

Drupal cvs update

cvs update -r DRUPAL-5--1-4 -dP
# where DRUPAL-5--1-4 is the "CVS Tag" as listed on the release notes for the module.
https://snipt.net/embed/eccb6783a81785e937e9e0b0ec9aa621/
https://snipt.net/raw/eccb6783a81785e937e9e0b0ec9aa621/
eccb6783a81785e937e9e0b0ec9aa621
bash
Bash
2
2016-09-21T18:26:16
True
False
False
/api/public/snipt/3001/
drupal-cvs-update
<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 id="L-1"><a name="L-1"></a>cvs update -r DRUPAL-5--1-4 -dP </span><span id="L-2"><a name="L-2"></a><span class="c"># where DRUPAL-5--1-4 is the &quot;CVS Tag&quot; as listed on the release notes for the module.</span> </span></pre></div> </td></tr></table>
cvs, drupal

Bash

drupal module cvs checkout

cvs -z6 -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal-contrib checkout -r <version tag> -d moduleName contributions/modules/moduleName
https://snipt.net/embed/0612bff7b2f05948a517fa25723fb398/
https://snipt.net/raw/0612bff7b2f05948a517fa25723fb398/
0612bff7b2f05948a517fa25723fb398
bash
Bash
1
2016-09-21T20:12:53
True
False
False
/api/public/snipt/3000/
drupal-module-cvs-checkout
<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 id="L-1"><a name="L-1"></a>cvs -z6 -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal-contrib checkout -r &lt;version tag&gt; -d moduleName contributions/modules/moduleName </span></pre></div> </td></tr></table>
cvs, drupal

Bash

update cvs working copy with new code

cvs update -dP
https://snipt.net/embed/d4ccfb82841f809fcf4234d168be619f/
https://snipt.net/raw/d4ccfb82841f809fcf4234d168be619f/
d4ccfb82841f809fcf4234d168be619f
bash
Bash
1
2016-09-21T23:12:14
True
False
False
/api/public/snipt/2432/
update-cvs-working-copy-with-new-code
<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 id="L-1"><a name="L-1"></a>cvs update -dP </span></pre></div> </td></tr></table>
bash, cvs

Bash

checkout drupal module with cvs

cvs -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal-contrib checkout -d image -r DRUPAL-5--1-6 contributions/modules/image
https://snipt.net/embed/4d80c826e4b7871f5a778a5d31667117/
https://snipt.net/raw/4d80c826e4b7871f5a778a5d31667117/
4d80c826e4b7871f5a778a5d31667117
bash
Bash
1
2016-09-22T22:59:25
True
False
False
/api/public/snipt/2431/
checkout-drupal-module-with-cvs
<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 id="L-1"><a name="L-1"></a>cvs -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal-contrib checkout -d image -r DRUPAL-5--1-6 contributions/modules/image </span></pre></div> </td></tr></table>
cvs, drupal

Bash

update drupal to new release via cvs

cvs update -r DRUPAL-5-7 -dP
https://snipt.net/embed/6a526d3548fb600c4f49ee0e1499cb6f/
https://snipt.net/raw/6a526d3548fb600c4f49ee0e1499cb6f/
6a526d3548fb600c4f49ee0e1499cb6f
bash
Bash
1
2016-09-21T23:12:28
True
False
False
/api/public/snipt/2429/
update-drupal-to-new-release-via-cvs
<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 id="L-1"><a name="L-1"></a>cvs update -r DRUPAL-5-7 -dP </span></pre></div> </td></tr></table>
bash, cvs, drupal

Bash

checkout drupal from cvs

cvs -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal checkout -d ./trunk -r DRUPAL-5 drupal
https://snipt.net/embed/b4a230993b52fe49d32e1c618b9df212/
https://snipt.net/raw/b4a230993b52fe49d32e1c618b9df212/
b4a230993b52fe49d32e1c618b9df212
bash
Bash
1
2016-09-22T01:47:01
True
False
False
/api/public/snipt/2425/
checkout-drupal-from-cvs
<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 id="L-1"><a name="L-1"></a>cvs -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal checkout -d ./trunk -r DRUPAL-5 drupal </span></pre></div> </td></tr></table>
bash, cvs, drupal

Bash

Remove all CVS directories

find -d . -name 'CVS' -exec rm -rf '{}' \; -print
https://snipt.net/embed/00c3ad02c77db51a87335ae6837104c9/
https://snipt.net/raw/00c3ad02c77db51a87335ae6837104c9/
00c3ad02c77db51a87335ae6837104c9
bash
Bash
1
2016-09-23T01:27:05
True
False
False
/api/public/snipt/1789/
remove-all-cvs-directories
<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 id="L-1"><a name="L-1"></a>find -d . -name <span class="s1">&#39;CVS&#39;</span> -exec rm -rf <span class="s1">&#39;{}&#39;</span> <span class="se">\;</span> -print </span></pre></div> </td></tr></table>
cvs
Copyrighted, illegal, or inappropriate content? Email support@snipt.net.