#!wml -o (ALL-LANG_*)+LANG_DE:\${}-de.html \ (ALL-LANG_*)+LANG_EN:\${}-en.html #use wml::mtp area=${area} ## Created on , 26 2001 by texi2html 1.65 ## Written by: Lionel Cons (original author) ## Karl Berry ## Olaf Bachmann ## and many others. ## Maintained by: Olaf Bachmann ## !!! Special Version for Using with WML by Karl Heinz Marbaise (khmarbaise@gmx.de)!!! ## Send bugs and suggestions to ## DO NOT EDIT THIS FILE EDIT FILE .... CVS--Concurrent Versions System: Rename by copying
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

7.4.3 Copying the history file

This way also involves direct modifications to the repository. It is safe, but not without drawbacks.

 
# Copy the RCS file inside the repository
$ cd $CVSROOT/dir
$ cp old,v new,v
# Remove the old file
$ cd ~/dir
$ rm old
$ cvs remove old
$ cvs commit old
# Remove all tags from new
$ cvs update new
$ cvs log new             # Remember the non-branch tag names
$ cvs tag -d tag1 new
$ cvs tag -d tag2 new
...

By removing the tags you will be able to check out old revisions.

Advantages:

  • Checking out old revisions works correctly, as long as you use `-rtag' and not `-Ddate' to retrieve the revisions.

  • The log of changes is maintained intact.

  • The revision numbers are not affected.

Disadvantages:

  • You cannot easily see the history of the file across the rename.

## This document was generated by Karl Heinz Marbaise on , 26 2001 using texi2html