[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: how to extract two versions of file for comparison
From: |
Dave Korn |
Subject: |
RE: how to extract two versions of file for comparison |
Date: |
Fri, 15 Jul 2005 12:06:45 +0100 |
----Original Message----
>From: Dave Korn
>Sent: 14 July 2005 14:31
> ----Original Message----
>> From: NoPlatitudes
>> Sent: 14 July 2005 14:16
>
>> I am trying to get the difference between the latest working version of
>> a file and a previous version. I need to use a third party tool to
>> examine this difference (cvs's diff functionality won't do what I want
>> here). I want the newest version to remain in my 'standard' working
>> directory, and I'd like the old version to be extracted (for reference
>> only; no edits needed) to another directory, like /temp off of my
>> working directory. How can I do this?
>
>
> cvs update -C -r <rev> -p file.name > /temp/file.name
Correction: Don't use -C or you'll end up with a spurious 'locally
modified ... moved to ...' message as the first line of /temp/file.name.
Apologies for the confusion!
cheers,
DaveK
--
Can't think of a witty .sigline today....