Re: cvs log between tags
[EMAIL PROTECTED] (Greg A. Woods) writes: [ On Saturday, May 5, 2001 at 19:51:00 (-0400), Larry Jones wrote: ] 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. Good point. I want (through *some* method) exactly the same functionality as you, and I imagine many others do too. I had suggested implementing the :: syntax for log because : was already there for log and admin, :: was already supported for the admin command to mean exclusive of the first and last revisions, and my feeble mind was at the time thinking something along the lines of since the tag happens *after* the last revision is committed, that last revision will be included in the logs. Of course that thinking is flawed... (I hadn't yet noticed, because I was waiting for it to be in an official release before doing anything with it.) So is there an actual use for a command that excludes that last revision from the log? Since this is a newly implemented option, maybe the meaning can be changed slightly to mean only revisions that were committed after the first tag, and prior to the last. Since the revision with the same number as the last tag was, by definition, committed prior to making the tag, this would give us what we want (ie, it would include that last revision), and wouldn't skew the meaning *too much* from what it means elsewhere ;-) ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
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. -Larry Jones Everybody's a slave to routine. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: cvs log between tags
[ 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 [EMAIL PROTECTED] [EMAIL PROTECTED] Planix, Inc. [EMAIL PROTECTED]; Secrets of the Weird [EMAIL PROTECTED] ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs