[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Best way to forward-diff from working copy to HEAD (was Re: strange cvs
Best way to forward-diff from working copy to HEAD (was Re: strange cvs diff problem with pcl-cvs and viewcvs)
Tue, 15 Jun 2004 09:36:23 -0400
Quick add-on question:
On Tue, Jun 15, 2004 at 08:25:14AM -0400, Frederic Brehm wrote:
> To see the differences between the local file and the head version you need
> use the command "cvs diff -r HEAD main.f".
Any way to reverse that so it's a forward diff, particularly on a
whole file set at once? I've been using
cvs diff -r BASE -r HEAD [file]
but that generates error messages when files have been removed etc.,
and I wonder if there's a better way. This tactic also seems to fail
on branches, though I find "HEAD" seems to have a different meaning
sometimes on a branch anyway.
Doug Lee address@hidden http://www.dlee.org
Bartimaeus Group address@hidden http://www.bartsite.com
"Is your cucumber bitter? Throw it away. Are there briars in your
path? Turn aside. That is enough. Do not go on to say, `Why were
things of this sort ever brought into the world?'"