Forums Sign Up Reply Search Statistics
CVS or SVN for Dreamweaver GraFX Software Solutions - Forum / CVS or SVN for Dreamweaver /

cvs lite commit

 
Author oswalds
Guest
#1 Posted: 20 Jul 2005 02:06:45
Reply 
I have CVS LITE installed and I have successfully executed CHECKOUT on a project. I used ssh to connect to a remote repository on unix for the checkout. Now I want to COMMIT a change, but no option for specifying the repository is provided and the command executed by CVS LITE is:
cvs -q -z1 --lf commit -m "test commit" "overview.htm" >c:\Temp/out.txt

and the error is:
stty: : Invalid argument

What am I doing wrong?
Author software
Admin
#2 Posted: 20 Jul 2005 08:05:38
Reply 
HI,

Please tell us what version of CVSNT have you installed?
Author oswalds
Guest
#3 Posted: 20 Jul 2005 20:22:20
Reply 
Hi -

My repository is on a remote unix CVS 1.11.17 installation. The dialog invoked during the CHEKOUT allows specifying the remote host and repository through ssh and works fine. I expected that the connection properties would be cached for subsequent COMMITs.

fyi - I have cvsnt 2.0.51d installed on the client pc.
Author paulgfx
Guest
#4 Posted: 21 Jul 2005 10:32:52
Reply 
Please open the ms-dos prompt and change the current directory to where your project is (where the "overview.html" file is).
After this, enter the cvs command:
cvs -q -z1 --lf commit -m "test commit" "overview.htm"

and tell us if the same error appears.
Paul
Author oswalds
Guest
#5 Posted: 21 Jul 2005 18:57:25
Reply 
I solved the problem. The problem was simply that the repository location was unknown to cvsnt. I set the CVSROOT environment variable to the remote repository and things started working.

I'll share some insights on cvsnt's ssh configuration I acquired along the way. The primary tip associated with using ssh under cvsnt is that the private key has to be compatible with PuTTY (the ssh implementation used) which expects the private key to be formatted in its way. So the private key I ssh-keygen'd on unix had to be read by puttygen.exe and saved in its .ppk format. Then the CVSROOT environment variable is set to the remote string with a refeference to the key, e.g.:

CVSROOT=:ssh;key='C:/path/to/the/.ssh/id_rsa.ppk':user@host:/path/to/r epository

With the environment variable set, I was able to perform the test commit.

The "stty: :Invalid argument" errors persist, but do not affect the processing.
Author software
Admin
#6 Posted: 22 Jul 2005 08:06:46
Reply 
Thanx for sharing this ... will be helpfull to people who use SSH.
 
Your Reply

» Username  » Password 
Only registered users are allowed to post here. Please enter your login/password details upon posting a message, or sign up first.