Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Feb 1998 16:24:12 -0600 (CST)
From:      Dave Bodenstab <imdave@mcs.net>
To:        freebsd-questions@FreeBSD.ORG, leifn@image.dk
Subject:   Re: rcs
Message-ID:  <199802182224.QAA23900@base486.home.org>

next in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802182224.QAA23900>