sent to a patrick only by mistake

---------- Forwarded message ----------
From: Andres Perera <andre...@zoho.com>
Date: Wed, Feb 16, 2011 at 8:58 PM
Subject: Re: Tracking What it's changing in current
To: patrick keshishian <pkesh...@gmail.com>


On Wed, Feb 16, 2011 at 7:03 PM, patrick keshishian <pkesh...@gmail.com>
wrote:
> On Wed, Feb 16, 2011 at 1:01 PM, Marco Peereboom <sl...@peereboom.us>
wrote:
>> Man I'd love an example for this.
>
> something like this. Note that there may be issues with source files
> with spaces and/or files names that contain commas. Those cases are
> not tested. The script can be "smarter".
>
<long perl script omitted>

this will still run per directory instead of per commit:

andres@pote:/tmp/andres/CVSROOT $ awk 'length && !/^#/' loginfo commitinfo
ALL echo LOGINFO %s
ALL echo COMMITINFO %s

andres@pote:/tmp/andres/foo $ for i in bar kjh/lal qweqweqwe; do echo
\# >> $i; done
andres@pote:/tmp/andres/foo $ cvs -n up
M bar
M qweqweqwe
M kjh/lal
andres@pote:/tmp/andres/foo $ cvs ci -masdasd .
COMMITINFO bar qweqweqwe
COMMITINFO lal
/tmp/andres/asd/foo/bar,v B <-- B bar
new revision: 1.16; previous revision: 1.15
/tmp/andres/asd/foo/qweqweqwe,v B <-- B qweqweqwe
new revision: 1.10; previous revision: 1.9
LOGINFO bar qweqweqwe
/tmp/andres/asd/foo/kjh/lal,v B <-- B kjh/lal
new revision: 1.16; previous revision: 1.15
LOGINFO lal

i am trying to see if CVSROOT/modules could work (with a line like
`modname -i command modname'), but i doubt it. and then there's the
whole clientside/serverside depending on whether CVSROOT is nfs or
pserver... etc.

cant test CVSROOT/modules atm because im not on an openbsd box, nor do
i have old cvs

Reply via email to