[Top][All Lists]

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

Re: strange cvs diff problem with pcl-cvs and viewcvs

From: Frederic Brehm
Subject: Re: strange cvs diff problem with pcl-cvs and viewcvs
Date: Tue, 15 Jun 2004 08:25:14 -0400

At 02:40 AM 6/15/2004, Fabian Braennstroem wrote:
> The revision 1.10 is currently the last revision for 'main.f'. My problem is, > that ViewCVS and PCL-cvs don't show any differences between revision 1.10 and
> 1.9; they say that there are no differences!?

I'm not sure how ViewCVS and PCL-cvs run the diff command, but here's a clue.

Suppose you update your sandbox and main.f 1.9 is the version you get. If you run "cvs diff main.f" you will see that there are no differences. That's to be expected.

Someone checks in a revision to main.f, producing version 1.10. Now, if you run that same cvs diff command again, you will still get no differences! That's surprising until you remember that the diff command compares the local file with the version in the repository (1.9) that it's based on. To see the differences between the local file and the head version you need to use the command "cvs diff -r HEAD main.f".

So, if your tools are using the "cvs diff main.f" command, then the output you see is correct.


Frederic W. Brehm, Sarnoff Corporation,

reply via email to

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