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

Siegfried Heintze siegfried at heintze.com
Thu Jul 1 18:30:35 BST 2004


Glen,
OK, I tried that and it still does not work. Below are my two attempts:

C:\Program Files\Apache Group\Apache2\cgi-bin>cvs -d /c//CONVEX add -m "temp
fil
e: delete this" EditCaseWorkSiegShafi.pl
cvs [add aborted]: /c//CONVEX/CVSROOT: No such file or directory

C:\Program Files\Apache Group\Apache2\cgi-bin>cvs -d c:\CONVEX add -m "temp
file
: delete this" EditCaseWorkSiegShafi.pl
cvs add: CVSROOT must be an absolute pathname (not `c:\CONVEX')
cvs add: when using local access method.
cvs [add aborted]: Bad CVSROOT: `c:\CONVEX'.

C:\Program Files\Apache Group\Apache2\cgi-bin>


   Thanks,
      Siegfried

-----Original Message-----
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org] On Behalf Of
Glen Starrett
Sent: Thursday, July 01, 2004 11:11 AM
To: cvsnt at cvsnt.org
Subject: [cvsnt] Re: How do I add a single file?

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
_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt




More information about the cvsnt mailing list