Here's a first crack at it.  Probably still needs some work, but wanted
to get some feedback ;)  It's attached to the end of this email...

donald
On Mon, Nov 27, 2000 at 05:05:37PM -0200, Jorge Godoy wrote:
> On Mon, 27 Nov 2000, [EMAIL PROTECTED] wrote:
> > Anner Adrian writes:
> >> 
> >> how can I get the list of the dates of the tags.
> > 
> > CVS doesn't directly track the date that a tag is applied to a file
> > (and note that the dates in separate files might be quite
> > different).  CVS does record rtag operations in the history file,
> > but not tag.
> 
> 
> Do you think it's worth implementing that in some command for future
> versions? I see that as a valuable help for 'frontend' systems, as
> they don't need to keep their own information base on tags. 
> 
> The date in question, I think, is the one the command was issued, not
> the one of a specific file. 
> 
> 
> See you,
> -- 
> Godoy. <[EMAIL PROTECTED]>
> 
> Departamento de Publica��es       Conectiva S.A.
> Publishing Department             Conectiva Inc.
> 
> _______________________________________________
> Info-cvs mailing list
> [EMAIL PROTECTED]
> http://mail.gnu.org/mailman/listinfo/info-cvs
Index: tag.c
===================================================================
RCS file: /home2/cvsroot/ccvs/src/tag.c,v
retrieving revision 1.87
diff -c -r1.87 tag.c
*** tag.c       2000/10/02 17:45:27     1.87
--- tag.c       2000/11/28 17:34:40
***************
*** 208,213 ****
--- 208,215 ----
      }
       
      /* start the recursion processor */
+     history_write( 'T', ( delete_flag ? "D" : ( numtag ? numtag : 
+                  ( date ? date : "A" ) ) ), symtag, "", "" );
      err = start_recursion (tag_fileproc, tag_filesdoneproc, tag_dirproc,
                           (DIRLEAVEPROC) NULL, NULL, argc, argv, local,
                           W_LOCAL, 0, 0, (char *) NULL, 1);

Reply via email to