Re: Printing rlog message upto a label

From: Ed Morton (morton_at_lsupcaemnt.com)
Date: 04/22/04


Date: Wed, 21 Apr 2004 23:58:01 -0500


Stu wrote:

> I have the following rlog information (see below). Is there an rlog
> command I can use that can print me the changes to a file upto the
> last label that was issued.
>
> For example, I dropped the labe1 "AXO_1" on revision 1.2. Now I want
> to see all the changes to the file (1.3) excluding (1.2 and lower).
> Basically I want DONT want to print the messages associated with the
> label or lower.
>
> Any help would be appreciated.
>
> RCS file: /export/home/pbh/scripts/checkin/edit/RCS/t1,v
> Working file: t1
> head: 1.3
> branch:
> locks: strict
> access list:
> symbolic names:
> AXO_1: 1.2
> keyword substitution: kv
> total revisions: 3; selected revisions: 3
> description:
> version 1.1
> ----------------------------
> revision 1.3
> date: 2004/04/19 16:37:27; author: pbh; state: Exp; lines: +4 -0
> Test one two three
> ----------------------------
> revision 1.2
> date: 2004/04/19 16:33:26; author: pbh; state: Exp; lines: +5 -1
> version 2
> ----------------------------
> revision 1.1
> date: 2004/04/19 16:26:04; author: pbh; state: Exp;
> Initial revision
> =============================================================================

I'm not entirely sure what you're asking for, but if you just want to
get rid of everything after "revision 1.2", this'll do it in awk:

        awk '/^revision 1.2$/{exit}{print}' filename

If you're looking for something else, maybe posting a sample output
would help.

        Ed.



Relevant Pages

  • Printing rlog message upto a label
    ... >> command I can use that can print me the changes to a file upto the ... >> last label that was issued. ... if rlog can be told to find everyting using local time instead of GMT. ...
    (comp.unix.questions)
  • Printing rlog message upto a label
    ... I have the following rlog information. ... command I can use that can print me the changes to a file upto the ... last label that was issued. ...
    (comp.unix.questions)
  • Re: Printing rlog message upto a label
    ... > Stu wrote: ... >> command I can use that can print me the changes to a file upto the ... >> last label that was issued. ...
    (comp.unix.questions)
  • Re: Printing rlog message upto a label
    ... > I have the following rlog information. ... > command I can use that can print me the changes to a file upto the ... > last label that was issued. ... The rlog command *almost* supports this. ...
    (comp.unix.questions)
  • Re: Difference between a Command Button and a Label
    ... command button, as were the people from whom I borrowed the idea, so I ... You cannot place the focus on a label. ... "what happens if the users get used to one developer's colour coding ... If anyone would care to post this to a web site, ...
    (microsoft.public.access.forms)