From owner-freebsd-questions@FreeBSD.ORG Sun Oct 26 20:01:43 2003 Return-Path: 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 22ECC16A4B3 for ; Sun, 26 Oct 2003 20:01:43 -0800 (PST) Received: from ms-smtp-02-eri0.southeast.rr.com (ms-smtp-02-lbl.southeast.rr.com [24.25.9.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0EC5E43FCB for ; Sun, 26 Oct 2003 20:01:42 -0800 (PST) (envelope-from wegster@mindcore.net) Received: from mindcore.net (rdu163-100-105.nc.rr.com [24.163.100.105]) h9R41dR8012917; Sun, 26 Oct 2003 23:01:39 -0500 (EST) Message-ID: <3F9C9899.7000200@mindcore.net> Date: Sun, 26 Oct 2003 23:01:29 -0500 From: Scott W User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Alden Louis-Pierre References: <3F9C55FE.9030507@verizon.net> In-Reply-To: <3F9C55FE.9030507@verizon.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine cc: freebsd-questions@freebsd.org Subject: Re: RCS question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2003 04:01:43 -0000 No- IIRC, the default sis to look for an RCS subdirectory within the directory of the original file, failing that, the delta/file will be checked in to the local directory. This is generally 'the right behavior,' as RCS doesn't inherently store directory structures, so each file is in it's approipriate place in a multi-directory project. Some examples, starting with directory structure and contents: /home/projects/foo: Makefile (Top level Makefile for project) README license.gpl CHANGELOG /home/projects/foo/include: mydaemon.h db_connect.h myclient.h foo.h /home/projects/foo/server: Makefile db_connect.c mydaemon.c /home/projects/foo/client: Makefile myclient.c If an RCS directory already exists in each directory, the RCS files will go in (base directory)/RCS. If not, they will stay in the directory you checked them in from originally (Note- this is _their_ initial directory, not your working directory when you do the checkin!) So the top-level Makefile would become either /home/projects/foo/RCS/Makefile,v , or, if the RCS dir didn't already exist, /home/projects/foo/Makefile,v and the myclient.c file on checkin would become: /home/projects/foo/client/RCS/myclient.c,v , or again if the RCS dir didn't already exist, /home/projects/foo/client/myclient.c,v .. Hope that helps.. Scott PS- Remember to always at least do a co after initial checkin, as ci without other params creates the RCS/delta file, but will not leave the original filename in place... Alden Louis-Pierre wrote: > > I'm learning how to use the RCS utility. I never knew such a tool > existed. I understand the commands and concept, > but as always I need some enlightment with the following question: > > /home/apierre/RCS - my RCS directory > > /home/apierre/Prog/C/Joy_of_C/chp_1 - the location of my C files from > a book I'm learning. > > If I were to ci(check in) my files from were my C files is located, > would my revisions be placed in my RCS directory? > > Thank You > Alden Louis-Pierre > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" >