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

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

Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.

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 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
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook