Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rename file in CVS

Tags:

linux

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?

like image 442
Tree Avatar asked Dec 17 '22 23:12

Tree


1 Answers

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.

like image 106
sereda Avatar answered Dec 30 '22 14:12

sereda