[LON-CAPA-dev] Automated version numbering in cvs

Gerd Kortemeyer lon-capa-dev@mail.lon-capa.org
Fri, 25 Jan 2008 11:42:50 -0500


Hi,

On Jan 25, 2008, at 11:11 AM, Stefan Bisitz wrote:
>
> -> # $Id: lonlogin.pm,v 1.100 2008/01/24 15:06:21 bisitz Exp $
>
> resetpw.pm has a header but without this cvs line.
>
> My question was how this line could be added to a script so that cvs
> will update this line each time when a new version of this script is
> commited.

Just add a line

# $Id: $

and CVS will fill in the rest at commit time.

- Gerd.