Solved

changing file name in cvs

Posted on 2004-04-28
2
228 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
Comment Utility
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
Comment Utility
Thanks, I will do it the safer way and re-add the files. Thanks for the tips! Take care.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
java constructor error 8 86
wordsWithoutList  challenge 24 73
countX 22 69
allStar challenge 1 41
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
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…

744 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

16 Experts available now in Live!

Get 1:1 Help Now