info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVS-Directories disappear when uploading per SFTP-Client


From: Todd Denniston
Subject: Re: CVS-Directories disappear when uploading per SFTP-Client
Date: Mon, 20 Jun 2005 14:04:34 -0500

Dennis von Ferenczy wrote:
> 
> >
> > Let's see if I got this straight:
> >     1)  You start with the CVS/ directories present.
> >     2)  You run an SFTP client.
> >     3)  The CVS/directories are gone.
> >
> > Based on these facts, I would say that the SFTP client
> > removed the directories.
> 
> although this sounds rather unlikely to me, I will have a look at it and try
> another SFTP client (currently I am using WinSCP 3.7.5)
> 
> >
> > May I ask why you are mixing CVS and sftp ?  Why can't you
> > have a CVS sandbox checked out on the machine from which you
> > were uploading changes ?  Instead of uploading, you would
> > just cvs commit from there.
> 
> The problem is the following:
> the cvs server is at the same time the web server where the application
> runs. So I have to checkout to the web server. But: My IDE runs locally on
> my machine and it needs the complete source code to enable it to use code
> completion etc. Between my local machine and the server there is only a DSL
> connection so I have the local changes mirrored to the web server (using the
> SFTP client) and then do the commit from the web server.
> Any better ideas?
> 

Try having your repository as a remote repo[2] using ssh as your :ext:
method[1] with CVS for your local work and use ssh to login and do either
`cvs update` or `cvs export` on your web server.
Note that depending on your IDE you may be able to integrate it directly
into calling CVS[3], if you have cvs setup as a remote repository.

[1] https://www.cvshome.org/docs/manual/cvs-1.11.20/cvs_2.html#SEC28
i.e., set CVS_RSH=ssh #or your systems ssh client.
note for the example shown I believe you will want to replace all rsh calls
with ssh.

[2] https://www.cvshome.org/docs/manual/cvs-1.11.20/cvs_2.html#SEC26

[3]
http://www.cvsnt.org/wiki/ThirdPartyTools#head-fc58f200cea8e136e0be4d945fcee085858fe670


-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane) 
Harnessing the Power of Technology for the Warfighter




reply via email to

[Prev in Thread] Current Thread [Next in Thread]