Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Sun, 05 Oct 2003 22:49:16 +0800 From: Dean Scarff Subject: Re: cvs pserver setup howto ? In-reply-to: <000501c38b42$d74dd310$a07ba8c0@wxp> To: cygwin AT cygwin DOT com Message-id: MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=iso-8859-15 Content-transfer-encoding: 7BIT User-Agent: Opera7.20/Win32 M2 build 3144 References: <000501c38b42$d74dd310$a07ba8c0 AT wxp> On Sun, 05 Oct 2003 15:16:08 +0200, Albrecht Berger wrote: I'm no cvs guru, but > What are the steps that I need to do ? > > What I did is : > 0.export CVSROOT=/cvsroot > 1. cvs init > 2. cvs checkout CVSROOT > 3. cvs commit CVSROOT > 4. mkpasswd.exe > CVSROOT/passwd The passwd output from Cygwin's mkpasswd -l wouldn't really be useful for cvs auth. See http://www.cvshome.org/docs/manual/cvs-1.11.7/cvs_2.html#SEC30 You might also want to take note of their advice that "Unlike many of the files in `$CVSROOT/CVSROOT', it is normal to edit the `passwd' file in-place, rather than via CVS." You can generate one with the aid of crypt. You might also consider using the fallback system auth instead. > 5. cvs add CVSROOT/passwd > 6. cvs commit > > It all worked and now I have a repository at /cvsroot. > To start the cvs in server mode I usw : > cvs server Shouldn't this be "cvs pserver" given: > But if I try to login in an other cygwin-shell using : > export CVSROOT=:pserver:username AT localhost:/ > cvs login Not using / as CVSROOT might be a good idea as well. I don't know how eclipse wants to access your repository, but wouldn't it make more sense not to use a local pserver, and just let cvs operate directly on the fs (:local: and :fork: methods)? Cheers, Dean Scarff Apologies: I sent this accidentally sent this reply off-list as well -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/