info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Timestamping Tags?


From: Greg A. Woods
Subject: Re: Timestamping Tags?
Date: Sun, 3 Mar 2002 23:20:38 -0500 (EST)

[ On Sunday, March 3, 2002 at 16:58:50 (-0800), Claude Johnson wrote: ]
> Subject: Re: Timestamping Tags?
>
> But is there any way, easy or not, to be able to cross-reference
> the date and time of a tag's creation with the tag itself?

If your repository allows updating the "CVSROOT/history" file then there
is some information stored in it about tags.  It's not as interesting or
useful as you might first think though.

> And
> more importantly, is there any good reason that anyone can give
> for doing this.

I really cannot think of why you would need to know the exact date a tag
was created.  The creation of a valid tag is not important -- what it
points to is though.

(you might want to know who created an invalid tag, and when, possibly
to figure out why they created it; or maybe you might want to know if a
tag was moved in a given file after having been created, etc., but you
didn't ask about those things, and they are quite separate issues....)

> In this case, what we would like to do a build based on a certain
> tag (and let's assume the tag is date and timestamped). Then when
> we are debugging this build, we can go back and find every
> check in made that would have gone into the build (ie. every
> check in prior to tagging and building). Is there a way to address
> this problem in CVS (simple or not)?

Try running "cvs log" on a tagged file.  I'm sure you'll be able to tell
just from reading its output what commits were done between any two
tags, or indeed what commits make up the changes that went into the
version of the file represented by the tag, even if the tag names are
incredibly uninforming, such as "A", "B", "C" or such.

-- 
                                                                Greg A. Woods

+1 416 218-0098;  <address@hidden>;  <address@hidden>;  <address@hidden>
Planix, Inc. <address@hidden>; VE3TCP; Secrets of the Weird <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]