Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jun 1996 09:54:27 -0700 (PDT)
From:      "Rodney W. Grimes" <rgrimes@GndRsh.aac.dev.com>
To:        bwithrow@BayNetworks.com (Robert Withrow)
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Mega-Commit cleanups
Message-ID:  <199606061654.JAA09736@GndRsh.aac.dev.com>
In-Reply-To: <199606061540.LAA08415@tuva.engeast.baynetworks.com> from Robert Withrow at "Jun 6, 96 11:40:40 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> :- Revisions that have a "0" in the next-to-last position are special.  RCS
> :- normally never creates such revision numbers.  CVS takes advantage of
> :- that, and assigns a special meaning to them.  They represent branch tags
> :- in CVS.  A revision number of 1.7.0.4 _really_ means "the latest
> :- revision on the 1.7.4 branch."
> 
> 
> I think there is a CVS bug, because on *some* platforms it really
> *does* print 1.7.4, as I think it should.  1.7.0.4 is bogus.

I think your thinking of what CVS tells you from commands:

SkyRsh# cvs status Makefile
===================================================================
File: Makefile          Status: Needs Patch

   Working revision:    1.57.4.10       Thu May  9 16:22:16 1996
   Repository revision: 1.57.4.12       /home/ncvs/src/Makefile,v
   Sticky Tag:          RELENG_2_1_0 (branch: 1.57.4)
                                     ^^^^^^^^^^^^^^^^^
   Sticky Date:         (none)
   Sticky Options:      (none)

SkyRsh# 

And what is actually stored in the RCS file:

head    1.79;
access;
symbols
        RELENG_2_1_0_RELEASE:1.57.4.8
        RELENG_2_1_0:1.57.0.4
        ^^^^^^^^^^^^^^^^^^^^^
        RELENG_2_1_0_BP:1.57
        RELENG_2_0_5_RELEASE:1.57
        RELENG_2_0_5:1.57.0.2
        RELENG_2_0_5_BP:1.57
        RELENG_2_0_5_ALPHA:1.56
        RELEASE_2_0:1.30
        BETA_2_0:1.30
        ALPHA_2_0:1.29.0.2
        bsd_44_lite:1.1.1.1
        CSRG:1.1.1;
locks; strict;
comment @# @;

This is _not_ a bug in CVS, it is simply the way things work.  The cvs
commands massage the branch tags on output, going directly into the
repository and reading this stuff requries that one fully understands
how and when these types of ``tricks'' are used.

-- 
Rod Grimes                                      rgrimes@gndrsh.aac.dev.com
Accurate Automation Company                 Reliable computers for FreeBSD



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