[cvsnt] First Timer - Confused...

Bo Berglund bo.berglund at telia.com
Fri Feb 9 16:25:22 GMT 2007


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.


On Thu, 8 Feb 2007 23:25:21 -0500 (EST), Pat McCarten
<wpmccarten at yahoo.com> wrote:

>C:\Documents and Settings\pmccarten\My Documents\Personal>cvs import -m "My Personal Stuff" pat/personal

This command is incomplete! You have not specified the CVSROOT item!!!
  
Which is shown by this error message.....
>cvs import: No CVSROOT specified!  Please use the `-d' option

>When I look at my CVSNT Control Panel, it says I have the following repository created:
>   
>  Location = E:/cvs/repositories/pat
>  Name = /cvs/repositories/pat

This means that the import command should look like this instead
(wrapped by newsreader):

cvs -d :sspi:localhost:/cvs/repositories/pat import -m "Some comment"
pat/personal

You have two ways to specify the CVSROOT to the import command:
1) With the -d option to the cvs command (shown above)

2) By setting an environment variable before you enter tyhe cvs
command:
set CVSROOT=:sspi:localhost:/cvs/repositories/pat

Both versions will tell cvs where to send the command.
Notice that localhost may (should) be replaced with the true computer
name of the server. Localhost works only if the server is running on
the same computer as the client issues its command from.

HTH

/Bo
(Bo Berglund, developer in Sweden)


More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook