Tree Tree - 1 month ago 10
Linux Question

Rename file in CVS

I have checked a file

temp.pl
but now I want to change into
temp
.

I have tried
cvs rename temp.pl temp
but it's not working .

How do I rename checked file in
cvs
?

Answer

You cannot rename in CVS. You should do:

cp temp.pl temp
cvs add temp
cvs rm -f temp.pl

But you will lose file history. If you have file-level write access to the CVS repository, you can find file temp.pl,v there and rename it to temp,v - this will keep history.

CVS is inherently file-based (based on RCS), so cross-file operations are not supported.

Comments