CVS Best Practices: Difference between revisions
Added renaming section |
m →Renaming tags: Fixed formatting |
||
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 |