We have a CVS repository and we create a tag on the active branch whenever a successful build is done.
Is there any way by which I can determine the date when the tag was created?
Looking into the history doesn’t helps since it only tells the date-time stamps of the file when it was modified.
Thanks!
You can easily configure CVS to log all tag-related actions.
In the file ‘$CVSROOT/CVSROOT/taginfo’ you can hook up a
pre-tag script like this:
If this script returns a non-zero exit value, the tag operation will
be aborted. This allows for syntax checks on the tag names. You can
also use this hook to send emails, whenever a new release has been
tagged. To write a history of all tag operations, you need to do
something like this in your do_tag file:
If you have the history function enabled, you can execute
the following command:
It will give you some lines like this, giving you date+time, user, module and tagname of each tagging operation:
For more information check the cvsbook on history