"Cameron, Steve" schrieb:

> 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.

Pardon me if I ask a silly question, but how could a single revision be
present on multiple branches? As far as I understood the revision number
exactly defines where the revision belongs to, doesn't it?

>         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.

I agree that my suggestion of HEAD as described above is not so necessary as
a pseudo-branch-tag for the main trunk (be it called TRUNK or MAIN - as Noel
suggested - or some other meaningful name).

I freely admit that my suggestions were made from a users point of view.
Although I did some modifications in WinCVS that also took me inside the CVS
code, I am far from having insight into the huge CVS sources and their
numerous interactions. So I could only hope that someone with enough
knowledge would implement the tags if they were found useful. In my humble
personal opinion at least TRUNK is.

Best regards
Martin

Reply via email to