[Top][All Lists]

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

Re: can different files be diff ed?

From: Greg A. Woods
Subject: Re: can different files be diff ed?
Date: Wed, 17 Apr 2002 17:17:50 -0400 (EDT)

[ On Wednesday, April 17, 2002 at 11:23:28 (-0700), Anshuman Kanwar wrote: ]
> Subject: can different files be diff ed?
> So is there any way I could do a cvs diff of 2 different files? Of course, a
> little shell script can check out the files and do the same thing, but it
> would be more clean if cvs could do it.

Why do you think it would be "more clean" if CVS could do it?

>From CVS' point of view such an operation would seem to be extremely

(There is "cvs checkout -p", which you can do without creating a working
directory, though unless your platform of choice has fdescfs and you
care to try some tricky file descriptor re-direction you're going to
have to create at least one temporary file anyway, so it's "much
cleaner" just to check out each module into a separate working directory
and then let 'diff -r' do the work for you....)

                                                                Greg A. Woods

+1 416 218-0098;  <address@hidden>;  <address@hidden>;  <address@hidden>
Planix, Inc. <address@hidden>; VE3TCP; Secrets of the Weird <address@hidden>

reply via email to

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