From owner-freebsd-questions Wed Feb 18 14:24:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA28800 for freebsd-questions-outgoing; Wed, 18 Feb 1998 14:24:44 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from base486.home.org (imdave@imdave.pr.mcs.net [205.164.3.77]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA28739 for ; Wed, 18 Feb 1998 14:24:19 -0800 (PST) (envelope-from imdave@mcs.net) Received: (from imdave@localhost) by base486.home.org (8.8.8/8.8.8) id QAA23900; Wed, 18 Feb 1998 16:24:12 -0600 (CST) Date: Wed, 18 Feb 1998 16:24:12 -0600 (CST) From: Dave Bodenstab Message-Id: <199802182224.QAA23900@base486.home.org> To: freebsd-questions@FreeBSD.ORG, leifn@image.dk Subject: Re: rcs Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > From: leifn@image.dk (Leif Neland) > > I use RCS to keep control of my sources. > The current version of my prog is 1.nn (e.g. 1.59) > The version I hack on is 1.nn.1.mm (eg. 1.59.1.18) > > How do I nicely promote test version 1.59.1.18 to release 1.60? > > I can't even force ci -f1.60 mysource, because ci complains 1.59 is not checked > out. > > I have to checkout 1.59.1.18, rename it, checkout 1.59, delete it and rename > 1.59.1.18 back and check it in as 1.60, then remove the lock for 1.59.1.18. Whoa!!!! What's the matter with (assuming your rcs files are in the same directory -- if not, modify appropriately): co -r1.59.1 *,v rcs -l1.59 *,v ci -r1.60 *,v This, of course, assumes that all files have changed. If not, then prune out the un-changed files before checking in 1.60 with: co -r1.59.1 *,v rcsclean -r1.59 *,v rcs -l1.59 *,v ci -r1.60 *,v rcs -u *,v Dave Bodenstab imdave!mcs.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message