Solved

changing file name in cvs

Posted on 2004-04-28
2
235 Views
Last Modified: 2010-04-17
Hi. Thanks in advance for your help.

If I already have files on the cvs and I just wanted to change the filename, i.e. make the first letter of a file capitalized as opposed to lower case, is there a way to do this without first removing and re-adding the file? Thanks.
0
Comment
Question by:frogpad
2 Comments
 
LVL 7

Accepted Solution

by:
fim32 earned 500 total points
ID: 10941847
removing and re-adding the file is the official way to do it, but you lose all your logs...

the bad, evil way to do it is to go into your repository, locate the file there and rename it there... the file will have a ,v extension, make sure you only change the part you want to! (without the ,v extension, who knows what will happen)... then you 'cvs update' and the filename you didn't want will be deleted and the new file will be added, except that it will have all the data from the old file....

an example of a file named test, in my cvs repository /cvs:

$ cd /cvs
$ mv test,v TEST,v
$ cd $HOME/cvs
$ cvs update

so on, so forth...
0
 

Author Comment

by:frogpad
ID: 10942430
Thanks, I will do it the safer way and re-add the files. Thanks for the tips! Take care.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here we come across an interesting topic of coding guidelines while designing automation test scripts. The scope of this article will not be limited to QTP but to an overall extent of using VB Scripting for automation projects. Introduction Now…
A short article about problems I had with the new location API and permissions in Marshmallow

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question