[cvsnt] First Timer - Confused...
bo.berglund at telia.com
Fri Feb 9 16:25:22 GMT 2007
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"
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
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.
(Bo Berglund, developer in Sweden)
More information about the cvsnt