[cvsnt] Re: Cvsroot on network share

McCullough, Ryan rmccullough at rightnow.com
Wed Sep 21 21:57:47 BST 2005


Here is the output when trying to use the :ext: method:

C:\Prototypes>"c:\Program Files\CVSNT\cvs.exe" -d
":ext:<user>@<server>:/nfs/src/cvsroot" co dotnet
' from cvs server warning: unrecognized response `'ssh' is not recognized as
an internal or external command,
' from cvs server warning: unrecognized response `operable program or batch
file.
cvs.exe [checkout aborted]: end of file from server (consult above messages
if any)

This works in tortoisecvs:
In C:\CastlePrototypes: "C:\Program Files\TortoiseCVS\cvs.exe" "-q"
"checkout" "-P" "dotnet"
CVSROOT=:ext:<user>@<server>:/nfs/src/cvsroot

The cvs.exe in tortoise cvs is:
C:\Program Files\TortoiseCVS>cvs.exe --version

Concurrent Versions System (CVSNT) 2.5.02 (Servalan) Build 2064
(client/server)

-----Original Message-----
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org] On Behalf Of
McCullough, Ryan
Sent: Wednesday, September 21, 2005 2:52 PM
To: cvsnt at cvsnt.org
Subject: RE: [cvsnt] Re: Cvsroot on network share

This is a multi-part message in MIME format.
s both ways but it is still
looking for a local cvs server:

C:\Prototypes>"c:\Program Files\CVSNT\cvs.exe" -N -d
":local:\\sapphire\nfs\src\cvsroot" co dotnet cvs.exe checkout: connect to
127.0.0.1(127.0.0.1):2402 failed: No connection could be made because the
target machine actively refused it.
cvs.exe [checkout aborted]: Couldn't connect to lock server

Btw, cvsroot is just the root of the cvs repository. Under it is a CVSROOT
folder containing the admin files and then all of the other directories
holding the source.

Ok, if you do not wish to help further with the :local: method (which if its
not supported why is it available??) then how about the :ext: method. How
come the :ext: method from the command line fails but works with a gui
client like tortoisecvs?

-Ryan

-----Original Message-----
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org] On Behalf Of
Bo Berglund
Sent: Wednesday, September 21, 2005 2:26 PM
To: cvsnt at cvsnt.org
Subject: Re: [cvsnt] Re: Cvsroot on network share

On Wed, 21 Sep 2005 13:07:59 -0600, "McCullough, Ryan"
<rmccullough at rightnow.com> wrote:

>The way this was done previously on linux was pointing your cvs root at 
>the location on the mounted nfs (ie /net/source/cvsroot). And then 
>doing a cvs co <module>.
>
..snip...

>I then tried using the :ext: protocol from the command line but that 
>does not work either with the errors previously mentioned. The :ext:
>protocol works using tortoiseCVS, but it does not work with the command 
>line cvs.exe binary from CVSNT.org.
>
>Does this make more sense?

If you do not use a proper server then the use of anything else but
:local: as protocol will fail. All other settings assume a connection to a
*server* who will evaluate the credentials in the specified way.
In your case :local:\\sambaserver\net\source\cvsroot might work or you might
be forced to tip the slashes:
  :local://sambaserver/net/source/cvsroot

I never ever use this access method due to its built-in deficiences so I
cannot discuss it further...

I also wonder about the share folder name "cvsroot", looks strange to me
because CVSROOT is a reserved word in CVS designating the special folder
holding the administrative files. This folder should never ever be accessed
by anyone else but the cvs admin. All modules should be outside this special
folder.


/Bo
(Bo Berglund, developer in Sweden)
_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt



More information about the cvsnt mailing list