I was reading your patch to try and understand why .trunk is needed...

>>>>> "Stephen" == Stephen Cameron <[EMAIL PROTECTED]> writes:
    Stephen>   One or both @samp{-r} options can be replaced by a
    Stephen>   @samp{-D @var{date}} option, described above.
    Stephen> + 
    Stephen> + CAUTION: the special tag `HEAD' is interpreted by
    Stephen> + the `cvs diff' command in a different way than it
    Stephen> + is interpreted by any other cvs command.  `cvs diff'
    Stephen> + takes `-r HEAD' to mean the following, as nearly as
    Stephen> + I can tell:
    Stephen> + 
    Stephen> + For `cvs diff', `HEAD' means the most recent revision
    Stephen> + on the `current branch' (taking into account whatever
    Stephen> + sticky tags are active in your working directory) unless
    Stephen> + the particular file being diffed is not present on the
    Stephen> + branch, in which case the head revision of the trunk is
    Stephen> + taken.  It is evident that there are at least some cases
    Stephen> + for which this definition fails, that is, the wrong 
    Stephen> + revision may be found by `cvs diff' when used in combination
    Stephen> + with `-r HEAD'.  You may wish to use `.trunk' rather than
    Stephen> + `HEAD'.  The `.trunk' tag acts as a branch tag name for the
    Stephen> + trunk.
    Stephen> + 

  This seems very strange behaviour for diff, and I now understand why
you might want to diff against .trunk. But why does diff work that way?

   :!mcr!:            |  Solidum Systems Corporation, http://www.solidum.com
   Michael Richardson |         In DENVER.
 Personal: <A 
HREF="http://www.sandelman.ottawa.on.ca/People/Michael_Richardson/Bio.html">[EMAIL PROTECTED]</A>.
 PGP key available.
 Corporate: <A HREF="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</A>. 


Reply via email to