Re: How many versions?

2003-06-25 Thread Ross Patterson
On Wednesday 25 June 2003 10:17 am, Mark <[EMAIL PROTECTED]> wrote: > Given 2 revisions of a single file. How can a script find out if other > revisions exist between them. Try "cvs log -RS -r$REV1::$REV2" if you're using cvs 1.11.2 or later. For earlier releases (where -S isn't available), try

Re: Log Message - help

2003-06-25 Thread Larry Jones
Jayashree writes: > > Is there any way to add change log alone to these > files. There are around 15 files and all of them > are showing *** empty log message *** now. cvs admin -m -Larry Jones When I want an editorial, I'll ASK for it! -- Calvin _

Re: How many versions?

2003-06-25 Thread Mark
--- Larry Jones <[EMAIL PROTECTED]> wrote: > Mark writes: > > > > Given 2 revisions of a single file. How can a script find out if other > > revisions exist between them. > > The simplest way is to run "cvs log -rrev1::rev2" and parse the line in > the output that says: > > total revision

Re: How many versions?

2003-06-25 Thread Paul Sander
The rinfo program has a mode to display one-line summaries of ranges of versions. Doing a line-count on its output should give you what you want. Sources for the rinfo program are located at http://www.wakawaka.com/source.html Alternatively, you could try this: cvs log -N -rver1::ver2 file | gre

Re: acl support in CVS

2003-06-25 Thread Larry Jones
Mark D. Baushke writes: > > As far as I understand, there is no spam filter on [EMAIL PROTECTED] > right now... Apparently there is -- I just ran into a problem where my mail to the list was being rejected because the envelope from address was an internal-only address. When the mailing list serv

Re: How many versions?

2003-06-25 Thread Larry Jones
Mark writes: > > Given 2 revisions of a single file. How can a script find out if other > revisions exist between them. The simplest way is to run "cvs log -rrev1::rev2" and parse the line in the output that says: total revisions: n;selected revisions: m "m" is the number you want.

Re: history file/report format

2003-06-25 Thread Larry Jones
Wayne Johnson writes: > > Anyone know if the history report/file is documented anywhere. Only in the source code: see src/history.c. -Larry Jones Well of course the zipper's going to get stuck if everyone stands around WATCHING me! -- Calvin ___ Inf

Re: How many versions?

2003-06-25 Thread Mark
--- Mark <[EMAIL PROTECTED]> wrote: > > Given 2 revisions of a single file. How can a script find out if other > revisions exist between them. > > revision examples for this question: > > 1.12 and 1.12.2.1 -- have no revisions between them > 1.12 and 1.12.2.2 -- do have revisons between them

How many versions?

2003-06-25 Thread Mark
Given 2 revisions of a single file. How can a script find out if other revisions exist between them. revision examples for this question: 1.12 and 1.12.2.1 -- have no revisions between them 1.12 and 1.12.2.2 -- do have revisons between them 1.13 and 1.14 -- have no revisions between them

Re: Preventing Commits to a Branch

2003-06-25 Thread Mark
--- Kevin Layer <[EMAIL PROTECTED]> wrote: > Alexandre Augusto Drummond Barroso <[EMAIL PROTECTED]> wrote: > > >> You may create a program to be called on every commit > >> operation. Your program must analyze the file names, their > >> revision numbers (the third part of revision number identi