[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Checkout a file revision to stdout?
From: |
Derek Robert Price |
Subject: |
Re: Checkout a file revision to stdout? |
Date: |
Tue, 16 Mar 2004 12:01:51 -0500 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Todd Denniston wrote:
>address@hidden wrote:
>
>>I wrote a script called rcsgrep a long time ago that checked out files
>>on the main trunk only directly from the ,v file in the archive, and
>>grepped through each one in turn. So I could use that. I just
>>wondered if there was a better way.
>
>
>if it is a line that was put in and never modified, then `cvs annotate
>filename` might be useful. I have found that command to be a lot of fun.
FWIW, the contrib/check_cvs script distributed with the 1.12.* series of
releases has some recent modifications that allow you to execute an
arbitrary perl script or shell command on a checked out copy of each
revision of a file or each revision of each file in a project.
Derek
- --
*8^)
Email: address@hidden
Get CVS support at <http://ximbiot.com>!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org
iD8DBQFAVzL+LD1OTBfyMaQRAlVUAJ9X/riA0U8v3Ryi+0+345ZY2lBz0QCgqC46
VtVWrXpgbhleIcfGPI1mVoo=
=J5dj
-----END PGP SIGNATURE-----