Subject: Re: CVS REPOSITORY IS BROKEN (Re: cvs checkout with tag)
To: FUKAUMI Naoki <naoki@fukaumi.org>
From: Frederick Bruckman <fredb@immanent.net>
List: current-users
Date: 01/29/2002 12:21:23
On Wed, 30 Jan 2002, FUKAUMI Naoki wrote:

> On Tue, Jan 29, 2002 at 11:02:25AM -0600, Frederick Bruckman wrote:
> > I don't believe that's possible with "cvs" as it exists now.
> >
> > The date tag doesn't mean "date on the trunk"; it just means "date".
>
> I believe "notag" means "the latest version on the trunk(HEAD)".

Always.

> And I believe "date tag" means "specified date on the trunk(HEAD)"
>
> > If you want "cvs" to permit time-travel in any reasonable fashion,
> > you'll have to extend the format of the "CVS/Entries" file to
> > distinguish between the branch (branch tag), and the point on the branch
> > (date or static tag).
>
> notag + date tag = date tag, isn't it?

I wouldn't be so sure. It's possible to get files on a branch with a
"-D" argument. Sometimes, that's what you want, so you can say it "just
works", and sometimes, that's not what you want. "-D yesterday" in a
directory is usually what you want, because it's a diff against what was
there before, against what was just committed, but a whole tree with a
"-D" tag? Not useful (if it does what I think it does).

There is no such thing as "notag + date tag". Especially not, if you
want it to mean "HEAD + date". "notag + date tag" is identical to "date
tag". There's only one slot for the tag/date/branch. That's my point. I
think "-D" must simply pick through the history to get the last change
before that date, without regard to branches.

Frederick