-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Arthur Barrett wrote:
>> How do I find all the files in a repository whose comments contain a
>> specific text block (in my case an issue number)?
>>
> 
> 
> cvs rlog . | grep "comment" 

Close, but not quite. That won't display the file name. Change the
command to:

cvs rlog . | egrep "(RCS file|issue number)" | grep -B1 "issue number" |
grep "RCS file"

Notes:
1) that this should be all one command - ignore any line wrapping that
may occur.
2) "issue number" is a placeholder for your actual issue number.

- --
Jim Hyslop
Dreampossible: Better software. Simply.     http://www.dreampossible.ca
                 Consulting * Mentoring * Training in
    C/C++ * OOD * SW Development & Practices * Version Management
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG1YA7LdDyDwyJw+MRAp+cAKDi3otEpm9uWzRyzIfPFKafEZ5ZuwCgvDBc
/lXLZHSEOPtTr//PUNrphgs=
=6abf
-----END PGP SIGNATURE-----


Reply via email to