Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to email@example.com.
On 15 Jul 2004 18:26:15 +0200, Johan Holmberg <holmberg at iar.se> wrote: >Tony Hoyle <tmh at nodomain.org> writes: >> >> >I don't know if I understood all of that disscussion, but weren't they >> >talking about different branches, and the meaning of HEAD in that context ? >> >My example was very simple with all revisions on the mainline. >> > >> They are saying that specifying HEAD with diff will enable different >> behaviour to specifying HEAD in any other command. In particular it >> *will* select deleted files from the branch. See the output of the >> command in the thread - the error message you queried features and is >> one of the points under discussion. >> > >I just discovered that I can get the same behaviour with the following >command (I put the file 'foo.txt' in the "attic" about 6 hours ago): > > $ cvs diff -D '1 hour ago' > cvs server: Diffing . > cvs server: foo.txt no longer exists, no comparison available > >Doesn't this show that we are talking about a slightly other >problem than the HEAD issue you referred to ? > It's probably related... a date is just a special case of tag really (at least at the code level). IIRC date comparisons always compare against HEAD anyway (something that's really annoyed me more than once...). The diff code probably needs to work more like annotate/log. Tony