[cvsnt] CVSNT :ext: BUG?

Guilherme Balena Versiani guibv at comunip.com.br
Thu Aug 14 17:58:43 BST 2008


Tilo Riemer ha scritto:
> At first you should check if it possible to connect to the server via 
> ssh (without invoking cvs). For instance you can use putty to try to 
> connect.
> If this works you could use another CVS GUI. I recommend CrossVC XXL 
> (http://www.crossvc.com). CrossVC supports access via ssh out of the box.

I think you are going to the wrong side... I am sure I am able to 
connect through ssh (in fact, I am able to connect to the server by 
using TortoisePlink, putty, OpenSSH of Cygwin, OpenSSH from another 
Linux machine, etc). I want to go two steps forward and say how you 
could reproduce the problem.

Let me make an introduction to the problem. When you use 
:ext:user at domain:_path_to_repository_ in any cvs client (CVSNT, or any 
other CVS taste), it works like below:

1) It takes CVS_RSH environment variable to connect to the server;
2) It spawns the command '$CVS_RSH -u user domain cvs server';
3) After authenticating and so forth (issued by the spawned process), 
the client starts to talk with the server by using CVS default protocol 
(pserver).

If you observe the step 2 above, you will note that the CVS_RSH command 
will issue 'cvs server' on the server machine. Just try it, and you will 
see what I am saying.

Then, if you just want to see the problem happen on CVSNT/Linux, just do 
the following on the Linux CVSNT server machine (the same you installed 
and configured the CVSNT, as I sent in my first e-mail):

    $ cvsnt server
    Root _path_to_repository_
    E cvsnt [server aborted]: _path_to_repository_: no such repository
    error

What would be the right response? If you use the 'vanilla' CVS (not 
CVSNT, like the version 1.12.12), then you will get the following:

    $ cvs server
    Root _path_to_repository_ << no response after this, the server will 
wait next cmd
    ls
    M MyModuleA
    M MyModuleB
    M MyModuleC
    M MyModuleD
    M MyModuleE
    M MyModuleF
    ...
    ok

Did you get me now?

Thank you,

Guilherme Balena Versiani.
ComunIP S/A


More information about the cvsnt mailing list