Solved

changing file name in cvs

Posted on 2004-04-28
2
236 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This is an explanation of a simple data model to help parse a JSON feed
A short article about problems I had with the new location API and permissions in Marshmallow
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

740 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