info-cvs
[Top][All Lists]
Advanced

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

Re: cvs log between tags


From: Greg A. Woods
Subject: Re: cvs log between tags
Date: Sat, 5 May 2001 23:14:12 -0400 (EDT)

[ On Saturday, May 5, 2001 at 19:51:00 (-0400), Larry Jones wrote: ]
> Subject: Re: cvs log between tags
>
> Jim Ray writes:
> > 
> > How does one go about getting log messages between tags?
> 
> cvs -H log says, in part:
> 
>         -r[revisions]   Specify revision(s)s to list.
>            rev1:rev2   Between rev1 and rev2, including rev1 and rev2.
>            rev1::rev2  Between rev1 and rev2, excluding rev1 and rev2.
> 
> I think :: was new in CVS 1.11.1.

Unfortunately neither are useful for the most common case I want to use
(which I suspect is what Jim wants too).

I want to find all the log entries between releases, which to me means
after the first tag and up until and including the second one.  In other
words I need:

        Between rev1 and rev2, excluding rev1 and including rev2.

Seeing that last log entry is just as important as not seeing the first
one.

Once upon a time I had written a half-correct awk script that would
strip out irrelevant 'rev1' entries from '-r rev1:rev2' reports, but it
never worked quite correctly and to properly fix it would have required
processing the full output of "cvs log" and figuring out which revisions
to put in the report all on my own.  Since '::' misses even more
critical information than ':' includes extraneous information, it's even
less useful to me!  :-)

-- 
                                                        Greg A. Woods

+1 416 218-0098      VE3TCP      <address@hidden>     <address@hidden>
Planix, Inc. <address@hidden>;   Secrets of the Weird <address@hidden>



reply via email to

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