[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Checkout a file revision to stdout?

From: address@hidden
Subject: Re: Checkout a file revision to stdout?
Date: Mon, 15 Mar 2004 16:16:42 -0800 (PST)

On Tue, 16 Mar 2004 address@hidden wrote:

> Is there any way to checkout a specific revision of a file to standard
> output, rather than creating a file?
> The real reason for wanting to do this is to find which revision of a
> file a particular piece of text first appeared.
> 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.
> luke
> _______________________________________________
> Info-cvs mailing list
> address@hidden

Usage: cvs checkout [-ANPRcflnps] [-r rev | -D date] [-d dir]
       [-j rev1] [-j rev2] [-k kopt] modules...

        -p      Check out files to standard output (avoids stickiness).

Adam Bernstein   address@hidden
Key fingerprint =  E1 91 49 4C 24 18 E2 04  7A D3 78 A8 86 A9 7C 38

reply via email to

[Prev in Thread] Current Thread [Next in Thread]