Larry Jones writes;
[my words]
> > But, does anyone here know how to
> > implement either HEAD or TRUNK as
> > described here?
[ HEAD meaning the
tip revision of "the current branch", acting like
whatever branch tag[s] are in effect. TRUNK
acting like a branch-tag name for the trunk.]
>
> Nor do I, and I seem to recall some previous discussions that concluded
> it was very difficult if not impossible to get right in all cases.
> That's what prompted by alternative suggestion.
[smc] TRUNK I think should be possible since it doesn't
really do anything that "cvs checkout" doesn't do already,
though "very difficult" sounds about right to me.
HEAD as described here definitely has some impossible
or at least meaningless cases: for instance, a sticky,
non-branch tag (or date or revision) on a file could
match a revision that is present on multiple branches,
so which is the "correct" current branch for which the
tip revision should be found? There's no sensible answer.
I suppose that could be treated as an error and CVS
could say, in essence, "you've asked me a nonsense
question." for such files. Seems more trouble than
it's worth to me though.