[cvsnt] Re: How do I add a single file?

Glen Starrett grstarrett at cox.net
Thu Jul 1 18:11:01 BST 2004


Siegfried Heintze wrote:

> I have previously used the import command to populate my repository. Now I
> am making a new file that did not exist before. What command do I use?
> 
> Here is my attempt to add a new file, it does not appear to be working:
> 
> C:\Program Files\Apache Group\Apache2\cgi-bin>cvs -d
> :pserver:siegfried at 192.168.0.8/c//CONVEX add -m "temp file: delete this"
> EditCaseWorkSiegShafi.pl
> cvs add: cannot open CVS/Entries for reading: No such file or directory
> cvs [add aborted]: no repository
> 
> What am I doing wrong?
> 
> Thanks,
>    Siegfried
> 

You need to run cvs add from within a sandbox, and it will added to the 
corresponding location in the repository.  Also, adding only marks a 
file for addition.  You need to commit before it will actually be added 
to the repository.

	<< in your sandbox >>
	cvs add foo.pl
	cvs ci -m "adding test file" foo.pl


-- 
Glen Starrett



More information about the cvsnt mailing list