CVS Best Practices: Difference between revisions
Added renaming section |
m Added categories |
||
(One intermediate revision by the same user not shown) | |||
Line 61: | Line 61: | ||
==Renaming tags== | ==Renaming tags== | ||
With CVS it is fairly simple to rename a tag ''''that is not a branch tag'''''. Assume you have two tags, a <code>bad_tag</code> name you wish to change to a new <code>good_tag</code> name. First, tag all files that have the old tag with the new tag relative to that tag: | With CVS it is fairly simple to rename a tag '''''that is not a branch tag'''''. Assume you have two tags, a <code>bad_tag</code> name you wish to change to a new <code>good_tag</code> name. First, tag all files that have the old tag with the new tag relative to that tag: | ||
$ cvs tag -r bad_tag good_tag file1.F90 file2.F90 file3.F90 | $ cvs tag -r bad_tag good_tag file1.F90 file2.F90 file3.F90 | ||
Line 74: | Line 74: | ||
D file2.F90 | D file2.F90 | ||
D file3.F90 | D file3.F90 | ||
[[Category:SI Team]] | |||
[[Category:CVS]] |