User Tools

Site Tools


dr:cvs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dr:cvs [2006/04/22 22:07] fgmdr:cvs [2020/11/23 17:23] (current) – external edit 127.0.0.1
Line 7: Line 7:
   * checking out 4.6.4, 4.7 or HEAD:   * checking out 4.6.4, 4.7 or HEAD:
  
-  zcvs co -rDRUPAL-4-6-4 drupal +  dcv co -rDRUPAL-4-6-4 drupal 
-  zcvs co -rDRUPAL-4-7 drupal +  dcv co -rDRUPAL-4-7 drupal 
-  zcvs co -rHEAD drupal+  dcv co -rHEAD drupal
      
   * the newly checked-out version will be available after a   * the newly checked-out version will be available after a
Line 17: Line 17:
   * diff-ing our checked-out, then modified version with 4-6-4:   * diff-ing our checked-out, then modified version with 4-6-4:
  
-  zcvs diff -rDRUPAL-4-6-4+  dcv diff -rDRUPAL-4-6-4
  
   * building a patch:   * building a patch:
  
   cd drupal;    cd drupal; 
-  zcvs diff -up > mychanges.patch+  dcv diff -up > mychanges.patch
  
   * history of a file (g2.module):   * history of a file (g2.module):
  
-  zcvs log g2.module+  ccv log g2.module
  
-  * zcvs is a 3-line script that just does this:+  * backporting (thanks to DWW):  
 +<code> 
 +cvs co -r DRUPAL-4-7 modules/g2 
 +cd modules/g2 
 +cvs update -j 1.13 -j 1.15 g2.module 
 +(resolve conflicts, if any) 
 +cvs commit -m "backporting changes from HEAD" g2.module" 
 +</code> 
 + 
 +the key step in that command is the "cvs update -j", which means to merge the 
 +revisions you specified into your current working copy. 
 + 
 + 
 +  * dcv/ccv is a 3-line script that just does this: 
 +    * dcv
  
 <file> <file>
   set CMD="e:\Program Files\Zend\ZendStudioClient-5.0.0\bin\SourceControl\cvs\cvs.exe"   set CMD="e:\Program Files\Zend\ZendStudioClient-5.0.0\bin\SourceControl\cvs\cvs.exe"
   set ACCESS=-d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal   set ACCESS=-d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal
 +  %CMD% %ACCESS% %*
 +</file>
 +    * ccv
 +<file>
 +  set CMD="e:\Program Files\Zend\ZendStudioClient-5.0.0\bin\SourceControl\cvs\cvs.exe"
 +  set ACCESS=-d:pserver:someuser:hispassword@cvs.drupal.org:/cvs/drupal-contrib
   %CMD% %ACCESS% %*   %CMD% %ACCESS% %*
 </file> </file>
dr/cvs.1145743623.txt.gz · Last modified: 2020/11/23 17:23 (external edit)