info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tagged branch not found


From: Eric Siegerman
Subject: Re: Tagged branch not found
Date: Thu, 4 Jul 2002 13:05:53 -0400
User-agent: Mutt/1.2.5i

On Wed, Jul 03, 2002 at 05:23:37PM -0500, Vince Rice wrote:
> Well, something is obviously wrong, because I have four *revisions* checked
> in that I can check out by specific revision number, e.g. (I've removed the
> comments to protect the guilty. :) )
> 
> revision 2.11.0.4
> date: 2002/06/26 19:44:05;  author: cvsuser;  state: Exp;  lines: +7 -8

For what it's worth -- i.e. not much, but it amuses me for some
reason...

Out of curiosity, I tried to reproduce this in 1.11.1p1 (I know
I've got 1.11.2 installed around here somewhere; now which box is
it on again?)

I succeeded:
        RCS file: /u03/home/erics/t/Repos/foo/a,v
        Working file: a
        head: 1.1
        branch:
        locks: strict
        access list:
        symbolic names:
                b: 1.1.0.0
        keyword substitution: o
        total revisions: 2;     selected revisions: 2
        description:
        ----------------------------
        revision 1.1
        date: 2002/07/04 16:53:24;  author: erics;  state: Exp;
        branches:  1.1.0;
        *** empty log message ***
        ----------------------------
        revision 1.1.0.1
        date: 2002/07/04 16:54:54;  author: erics;  state: Exp;  lines: +1 -1
        foo
        
=============================================================================

But to do it I had to manually edit the ,v file to give tag "b"
its bogus revision number 1.1.0.0.

I tried to use cvs admin to create a branch with a .0.0 revision
number (using a different tag name to avoid a name collision):
        % cvs admin -nb2:1.1.0.0 a
        RCS file: /u03/home/erics/t/Repos/foo/a,v
        cvs [admin aborted]: revision `1.1.0.0' does not exist
        %

That was before I'd made the hand-edit and checked in revision 1.1.0.1.
Interestingly enough, when I tried it again afterward, it worked!
        % cvs admin -nb2:1.1.0.0 a
        RCS file: /u03/home/erics/t/Repos/foo/a,v
        done
        %
and
        symbolic names:
                b2: 1.1.0.0
                b: 1.1.0.0

--

|  | /\
|-_|/  >   Eric Siegerman, Toronto, Ont.        address@hidden
|  |  /
Anyone who swims with the current will reach the big music steamship;
whoever swims against the current will perhaps reach the source.
        - Paul Schneider-Esleben



reply via email to

[Prev in Thread] Current Thread [Next in Thread]