[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cvs tag entries in $CVSROOT/CVSROOT/history
From: |
Larry Jones |
Subject: |
Re: cvs tag entries in $CVSROOT/CVSROOT/history |
Date: |
Wed, 29 Aug 2001 16:07:17 -0400 (EDT) |
Andrew Johnson writes:
>
> As of version 1.11 "cvs tag" does not make entries in the
> $CVSROOT/CVSROOT/history file, whereas "cvs rtag" does.
>
> Is there a particular reason for this discrepancy, and if not how easy
> would it be change (or has it already been added in later versions)?
The obvious reason is that rtag, like most other commands that get
logged, operates on a module, whereas tag operates on files. I expect
that specifying the change would be more work than actually implementing
it (although it would take a modicum of care to prevent logging both the
module and files when doing rtag since tag and rtag share the low-level
code). Presumably, you'd want to use a record type other than T to
distinguish tag records from rtag records, and while it would be
tempting to reassign T to tag and use something else for rtag, it
probably wouldn't be a good idea for compatibility reasons. You'd also
have to decide exactly what you wanted in the tag records.
-Larry Jones
Even my FRIENDS don't do what I want. -- Calvin