From owner-freebsd-questions Thu Aug 1 19:51:12 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E98737B400 for ; Thu, 1 Aug 2002 19:51:09 -0700 (PDT) Received: from otter.mills-atl.com (dsl-64-192-140-77.telocity.com [64.192.140.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8912243E6A for ; Thu, 1 Aug 2002 19:51:08 -0700 (PDT) (envelope-from jmmills@telocity.com) Received: from localhost (jmills@localhost) by otter.mills-atl.com (8.9.3/8.9.3) with ESMTP id WAA05346; Thu, 1 Aug 2002 22:53:10 -0400 X-Authentication-Warning: otter.mills-atl.com: jmills owned process doing -bs Date: Thu, 1 Aug 2002 22:53:10 -0400 (EDT) From: John Mills X-Sender: jmills@otter.mills-atl.com Reply-To: John Mills To: MET Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Getting started with CVS || slightly off topic again In-Reply-To: <001301c239b6$a8042430$6901a8c0@SURVIVAL> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG MET - On Thu, 1 Aug 2002, MET wrote: > I've recently setup CVS by doing: > > bash-2.05a$ cvs -d /usr/local/repository init On your local machine, I take it? > I then tested logging into the directory Did you set up '/usr/local/respository/CVSROOT/passwd'? You might want to look into the 'Administrative Files' appendix of the "Cederqvist" doc. That and [IIRC] chapter 2 give quite a lot of information about setting up your server. If you have a group of users, the server approach has a lot to be said for it. Did you set up the connection between your [x]inetd and starting a server? > bash-2.05a$ cvs -d :pserver:met@192.168.1.30:/usr/local/repository > login > Logging in to :pserver:met@192.168.1.30:2401/usr/local/repository > CVS password: > bash-2.05a$ > bash-2.05a$ cd /usr/local/repository > bash-2.05a$ ls > CVSROOT > bash-2.05a$ cd /usr/local/webdev > bash-2.05a$ cvs import -m "Imported Sources" met gunks start cvs -d :pserver:192.168.1.30:/usr/local/repository \ -m "Imported Sources" met gunks start > cvs import: No CVSROOT specified! Please use the `-d' option > cvs [import aborted]: or set the CVSROOT environment variable. > Any ideas on what I'm missing ? Put in your environment setup: export CVSROOT=:pserver:192.168.1.30:/usr/local/repository (or the equivalent). - John Mills To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message