I am not an author of the CVS source code, but one big issue with @author is
that it doesn't have an end identifier for the contents of the author tag.
If you wanted "@author @" as your author tag, you could probably alter the
source code yourself quite easily, though it would require a significant
amount of testing.

One reason an end identifier is potentially very helpful is that it allows
easy handling of tags that contain spaces in their data (data fields, etc)
as well as other typically special characters, such as the slashes,
backslashes, and often colons that exist in path names.

If you don't like the dollar signs because you code in perl, yet you want
your program to display its CVS tags in code, you can put the tags in single
quotes which don't expand out into variable names.

e.g.

$__src__version = '$Revision $';

instead of

$__src__version = "$Revision $";

though I suspect this isn't the case because @ denotes an array in perl the
way $ denotes a variable.  It is then pretty easy to write a small routine
that will extract the actual revision number from your code, no mater how
complicated.

--eric


> -----Original Message-----
> From: Tony Hoyle [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 15, 2002 4:08 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [Cvsnt] Latest Updates
> 
> 
> Lear Ton wrote:
> 
> > Please...can you add keyword subsititution for custom tags 
> a la @author and
> > @version in addition to $Author$ and $Revision$
> > ????  Please...
> > 
> 
> Not at this stage (new functionality, and it needs planning).  What 
> would you want these tags to do?
> 
> Tony
> 
> 
> _______________________________________________
> Cvsnt mailing list
> [EMAIL PROTECTED]
> http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
> 
_______________________________________________
Cvsnt mailing list
[EMAIL PROTECTED]
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt

Reply via email to