[EMAIL PROTECTED] on 03/22/2000 02:53:58 PM
>> Noel Yap wrote:
>> You're right. For consistency's sake, "cvs up -C file" should get a clean
>> copy
>> of the HEAD.
> [smc] If you mean for "cvs up -C file" to be more or less similar
>to
>
> mv file somewhere_else
> cvs up -p file > file
>
> Then HEAD is probably not what you want...
> HEAD means head revision of the trunk,
> (except to "cvs diff") AFAIK. If you're working
> on a branch, HEAD isn't right..
>
> I think (maybe) you just want
> to use "RCS_branch_head()" instead
> of "RCS_head()" in the code for "cvs up -C" similar
> to what "cvs diff" does in the HEAD case.
Yes, you're right. I wasn't really aware of this meaning of HEAD since I don't
really use it and I haven't used branches in a while. As a request, maybe CVS
should support syntax like "-r 1.2.HEAD" and "-r 1.2.BASE"?
Noel