Index: cvs.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/cvslog/cvs.install,v
retrieving revision 1.12.2.1
diff -u -p -r1.12.2.1 cvs.install
--- cvs.install	29 Oct 2008 00:27:09 -0000	1.12.2.1
+++ cvs.install	25 Nov 2008 20:12:15 -0000
@@ -65,6 +65,7 @@ function cvs_install() {
         nid int unsigned NOT NULL default '0',
         tag varchar(255) NOT NULL default '',
         branch tinyint unsigned NOT NULL default '0',
+        timestamp int unsigned NOT NULL default '0',
         PRIMARY KEY (nid, tag),
         KEY tag (tag))
         /*!40100 DEFAULT CHARACTER SET utf8 */"
@@ -146,6 +147,7 @@ function cvs_install() {
         nid int NOT NULL default '0',
         tag varchar(255) NOT NULL default '',
         branch smallint NOT NULL default '0',
+        timestamp int NOT NULL default '0',
         PRIMARY KEY (nid, tag))"
       );
       db_query("CREATE INDEX {cvs_tags}_tag_idx ON {cvs_tags} (tag)");
@@ -263,6 +265,17 @@ function cvs_update_7() {
   return $ret;
 }
 
+function cvs_update_8() {
+  $ret = array();
+  switch ($GLOBALS['db_type']) {
+    case 'mysql':
+    case 'mysqli':
+      $ret[] = update_sql("ALTER TABLE {cvs_tags} ADD timestamp int unsigned NOT NULL default '0'");
+      break;
+  }
+  return $ret;
+}
+
 function cvs_uninstall() {
 
   // Drop tables.
Index: cvs.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/cvslog/cvs.module,v
retrieving revision 1.172.2.5
diff -u -p -r1.172.2.5 cvs.module
--- cvs.module	29 Oct 2008 00:27:09 -0000	1.172.2.5
+++ cvs.module	25 Nov 2008 20:12:17 -0000
@@ -2070,6 +2070,8 @@ function cvs_process_log(&$logs, $path, 
  * Internal helper that attempts to insert the tag (or branch) into
  * {cvs_tags} for the given project nid. Avoids trying to insert
  * duplicate records.
+ *
+ * // TODO: need to try to handle tag timestamps here, too...
  */
 function _cvs_insert_tag($nid, $tag_name, $is_branch) {
   $result = db_query("SELECT nid FROM {cvs_tags} WHERE nid = %d AND tag = '%s'", $nid, $tag_name);
Index: xcvs/xcvs-taginfo.php
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/cvslog/xcvs/xcvs-taginfo.php,v
retrieving revision 1.10.2.1
diff -u -p -r1.10.2.1 xcvs-taginfo.php
--- xcvs/xcvs-taginfo.php	29 Oct 2008 00:27:09 -0000	1.10.2.1
+++ xcvs/xcvs-taginfo.php	25 Nov 2008 20:12:18 -0000
@@ -132,7 +132,7 @@ function xcvs_store_tag_in_db($dir, $tag
   mysql_query('LOCK TABLES cvs_tags');
 
   if ($op == 'add') {
-    mysql_query("INSERT INTO cvs_tags (nid, tag, branch) VALUES ($nid, '" . mysql_escape_string($tag) . "', $branch)");
+    mysql_query("INSERT INTO cvs_tags (nid, tag, branch, timestamp) VALUES ($nid, '" . mysql_escape_string($tag) . "', $branch, ". time() .")");
   }
   else {
     mysql_query("DELETE FROM cvs_tags WHERE nid=$nid AND tag='" . mysql_escape_string($tag) . "'");
