dr:cvs
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| dr:cvs [2005/12/01 21:36] – updates.inc fgm | dr:cvs [2020/11/23 17:23] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| (or a few notes on how to actually use cvs on drupal) | (or a few notes on how to actually use cvs on drupal) | ||
| + | * [[http:// | ||
| * [[http:// | * [[http:// | ||
| - | * checking out 4.6.4: | + | * checking out 4.6.4, 4.7 or HEAD: |
| - | + | ||
| - | zcvs -d co -rDRUPAL-4-6-4 drupal | + | |
| + | dcv co -rDRUPAL-4-6-4 drupal | ||
| + | dcv co -rDRUPAL-4-7 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 14: | Line 17: | ||
| * diff-ing our checked-out, | * diff-ing our checked-out, | ||
| - | | + | |
| * building a patch: | * building a patch: | ||
| cd drupal; | cd drupal; | ||
| - | | + | |
| - | * zcvs is a 3-line script that just does this: | + | * history of a file (g2.module): |
| + | |||
| + | ccv log g2.module | ||
| + | |||
| + | * backporting (thanks to DWW): | ||
| + | < | ||
| + | cvs co -r DRUPAL-4-7 modules/ | ||
| + | cd modules/ | ||
| + | cvs update -j 1.13 -j 1.15 g2.module | ||
| + | (resolve conflicts, if any) | ||
| + | cvs commit -m " | ||
| + | </ | ||
| + | |||
| + | 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/ | ||
| + | * dcv | ||
| < | < | ||
| set CMD=" | set CMD=" | ||
| set ACCESS=-d: | set ACCESS=-d: | ||
| + | %CMD% %ACCESS% %* | ||
| + | </ | ||
| + | * ccv | ||
| + | < | ||
| + | set CMD=" | ||
| + | set ACCESS=-d: | ||
| %CMD% %ACCESS% %* | %CMD% %ACCESS% %* | ||
| </ | </ | ||
dr/cvs.1133472966.txt.gz · Last modified: (external edit)
