Solved

changing file name in cvs

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
Make the most of your online learning experience.
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 …
Six Sigma Control Plans

690 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