[cvsnt] CVSNT Repository Root
Bo Berglund
Bo.Berglund at system3r.se
Thu May 6 16:25:48 BST 2004
Your configuration is bad, probably because you have not yet realized the confusing
use of the word CVSROOT....
This is how it should be set:
Valid Repository Roots = E:/CVS
>From the client:
Path = E:/CVS
CVSROOT = :pserver:mdb at 10.0.1.251:E:/CVS
Tthe "root" of a given repository on a CVS server *contains* a folder that
is named CVSROOT. This folder holds vital repository management files and
should never be accessed unless you are administrating the server...
When people speak of the CVSROOT setting in a client context they mean the
connection string used to specify where and how to connect. This has the
general form:
:protocol:user at server:repository
where
'protocol' could be a number of varying identifiers (pserver, sspi, ext and so on)
'user@' could be specified or not depending on the protocol selected before
'server' is the name or IP address of the CVS server
'repository' is the name of the server side repository root, in your case E:/CVS
The repository actually starts at E:/CVS and inside of this is where the modules go.
At the beginning there is only one single module automatically created and this is
the CVSROOT module containing the administrative files. It should be used only by
CVS admins.
You can add new modules to this server by cvs import for example, in this case you
specify a path to the new module relative to the root of the repository, E:/CVS,
not relative to the adminstrative module CVSROOT!!!
Please retry.
Bo
-----Original Message-----
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org]On Behalf
Of Mike Burkhouse
Sent: den 6 maj 2004 15:13
To: cvsnt at cvsnt.org
Subject: [cvsnt] CVSNT Repository Root
Hi All,
This is my first CVS installation and I have some issues that I haven't been
able to figure out on my own. I hope someone can help.
Environment:
Server:
Win2K Advanced Server
CVSnt 2.0.41
Client:
WinXP Pro
Wincvs
Connection over local area network (for now)
On the server, I created a repository at E:\CVS and initialized it with the
command
Cvs -d e:\cvs init
Doing this created a subdirectory CVSROOT under CVS [E:\CVS\CVSROOT]. In the
CVSnt Service Control Panel application, the following apply:
Repositories Tab:
Repository Prefix = False
Valid Repository Roots = E:/CVS/CVSROOT
>From the client:
Authentication = pserver
Path = E:/CVS/CVSROOT
Host Address = 10.0.1.251
User Name = mdb:password
CVSROOT = mdb:password at 10.0.1.251:E:/CVS/CVSROOT
Force using the CVSROOT (-d) = True
When I log in, I get
***** CVS exited normally with code 0 *****
Is that correct?
When I try to put something to the repository, I get
cvs add: cannot open CVS/Entries for reading: No such file or directory
cvs [add aborted]: no repository
***** CVS exited normally with code 1 *****
Can someone help me figure out why I get the no repository error and what I
can do to fix it?
Best Regards,
Mike
_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
More information about the cvsnt
mailing list