I have a coding project that I'm working on, and I'm tracking revisions using CVS. I'm working on a branch (branch1) at version 1.1.2.1.
Anyway, I created a new C file in the directory for the project, but I can't commit it. The tutorial I read on CVS said that version numbers will be assigned automatically to new files, and they will have the same revision as the latest revision of everything else. Instead, when I check the status of game.c (the new file) I get:
=================================================================== File: game.c Status: Unknown Working revision: No entry for game.c Repository revision: No revision control file
I have already tried releasing and checking out the project from the repository. I have already tried committing the changes to game.c. I've already tried creating the repository file manually. No matter what I do, CVS will not let me add a new file to the project. Is there any way to do this?
P.S. Please don't tell me to use a different RCS.
EDIT: I tried
cvs add game.cand I got
cvs add: cannot add file on non-branch tag `1.1.2.1'
The standard way to do it DOES NOT WORK.


Sign In
Create Account


Back to top









