Stefan Monnier wrote:
>>>>>>"Stefan" == Stefan Monnier
<monnier+lists.xemacs.beta/news/(a)RUM.cs.yale.edu> writes:
>>>>>>
>>>>>>"Stephen" == Stephen J Turnbull
<turnbull(a)sk.tsukuba.ac.jp> writes:
>>>>>>
> >> If you don't, or if you make local changes, then "cvs diff -u
> >> ." tells exactly what is different between your workspace and
> >> cvs HEAD.
>
> Stefan> No, it only shows the diff with the BASE, not the HEAD.
>
>Er, I've searched the CVS docs for definitions of these various terms,
>and not gotten much joy. It's quite likely i've used them incorrectly.
>What I mean is that if you have no sticky tags defined, then
>
>cvs diff .
>
>gives the same diff (give or take a level of directory structure) as
>
>cvs checkout -d newspace; diff -r oldspace newspace.
>
>Is that correct? It's certainly what I expect. If not, how do you
>get that?
>
No, you're mistaken. As I said, to get the diff between the file
and the HEAD revision (i.e. the more recent revision on the trunk,
or maybe on the current branch, I cannot remember), you need
to use `cvs diff -rHEAD'. `cvs diff' without any specification of a
particular revision gives you the diff between the file and the BASE
(i.e. the revision that you have currently checked out), i.e. it shows
the changes you've made locally.
Stefan
Suppose on Monday I do "cvs checkout -r21-5-latest-beta" I try to build
but I have errors. On Thursday, I start by doing "cvs update
-r21-5-latest-beta" The console indicates that some updates took place.
When I report on the Thursday build, the "baseline" is still *called*
21.5.3, but it has been updated somehow.
So, is the date-time stamp of my update run the best way to indicate
what sources I'm building?
--
David A. Cobb, Software Engineer, Public Access Advocate, All around
nice guy.
New PGP key 09/13/2001:
:<http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=superbiskit&\
fingerprint=on>
:<http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=superbiskit&\
fingerprint=on>
Fingerprint=0x{E7C6_4EE2_6B75_5BA3_C52E__77FA_63C3_9366_DCFB_229B}
"By God's Grace I am a Christian man, by my actions a great sinner."
--The Way of a Pilgrim, R. M. French [tr.]
Potentially Viral Software is any software for which you are not allowed
to examine the source. Do not buy or use Potentially Viral Software!