[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Find date when label was applied
From: |
Michael Haggerty |
Subject: |
Re: Find date when label was applied |
Date: |
Sat, 28 Oct 2006 22:12:02 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060922 Thunderbird/1.5.0.7 Mnenhy/0.7.4.666 |
John Lemire wrote:
> Anyone know how to figure out when a label was applied to a file?
This information is not stored by CVS. With effort, you can put some
bounds on the time:
1. A tag or branch label must have been created sometime *after* the
revision that was tagged.
2. If the label is a branch that itself had commits on it, then the
branch was created sometime *before* the time of the first commit.
3. If you assume that the label was created across multiple files at a
single moment in time (which doesn't have to be the case--separate files
can be tagged at different times), then constraints (1) and (2) can be
applied to each file that was tagged, further narrowing the time range.
Michael