Solved

changing file name in cvs

Posted on 2004-04-28
2
232 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
A short article about problems I had with the new location API and permissions in Marshmallow
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

910 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now