info-cvs
[Top][All Lists]
Advanced

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

Re: Add tagging info within perl comments/header


From: Mark D. Baushke
Subject: Re: Add tagging info within perl comments/header
Date: Wed, 13 Oct 2004 09:15:41 -0700

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kevin Old <address@hidden> writes:

> Please forgive this basic question, but after searching google for
> "cvs tagging in header" I have not turned up anything and am not
> really sure what other term(s) to use.

cvs keyword substitution

> I've seen these types of headers used in various languages, and would
> like to add them to my own.
> 
> #!/usr/bin/perl
> #  Other info about script....
> #  $Header: 
> /home/cvs/interchange_upsxml/lib/Business/Shipping/UPS_XML/Parser.pm,v
> 1.1 2004/06/27 13:53:20 dlhinkley Exp $
> #
> #  $Log: Parser.pm,v $
> #  Revision 1.1  2004/06/27 13:53:20  dlhinkley
> #  Rename module to UPS_XML
> #
> #  Revision 1.3  2004/06/10 02:03:16  dlhinkley
> #  Fixed bugs from breaking up code and putting in CPAN format
> #
> #  Revision 1.2  2004/06/01 02:48:25  dlhinkley
> #  Changes to make work
> #
> #  Revision 1.5  2004/05/21 21:28:36  dlhinkley
> #  Add Currency
> #
> #  Revision 1.4  2004/04/20 01:28:00  dlhinkley
> #  Added option for dimensions
> #
> #  Revision 1.3  2004/03/14 18:50:31  dlhinkley
> #  Working version
> #
> ########################################
> 
> Will someone please point me to the documentation that shows how I can
> do this?

You don't need to do anything $Log$ does a heuristic expansion of the
prefix characters before the first $Log that is used for insertion of
the log entries.

Read https://www.cvshome.org/docs/manual/cvs-1.11.17/cvs_12.html#SEC97

        -- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFBbVSt3x41pRYZE/gRAkBoAKCV8O5yqD9i/iZRXJSbiT8riN68SQCg5dPe
Mk5FPVVy+gGFqbeoPCrXd3I=
=pcJC
-----END PGP SIGNATURE-----




reply via email to

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