Dave Makower wrote:
> This information is documented, but I want to make sure I am correct 
> in my understanding of it.
> 
> Is it true that when used with the -r option, 'HEAD' always refers to 
> the latest revision on the _main_ _trunk_, or does it refer to the 
> latest revision of the file, including revisions that are on 
> branches?  If the former, then this suits my purposes.  If the 
> latter, then what is the best way to refer to the latest revision of 
> all files on the main trunk?
        [smc]  
"cvs diff" apparently takes "HEAD" to mean the 
head revision of the branch if there is a branch 
sticky tag. according to comments and test 
cases in sanity.sh. and also apparently people
are depending on this strange behavior, according
to those same comments. (I don't really believe it
though.)

Other commands treat HEAD to mean 
the head revision of the trunk, AFAIK.

I have a patch which makes "cvs diff" work like
the other commands wrt HEAD, though I haven't 
tested it extensively.  If anyone is interested
(seems unlikely :) I can send it again.

        -- steve

Reply via email to