[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: 'stamping' a la RCS '$Header$'?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-05-02 15:37:20 CEST

Ben Collins-Sussman <sussman@collab.net> writes:

> Alexis Huxley <ahuxley@gmx.net> writes:
>
> > Is this possible? Is there some '$header$' or '#(@)'-like string I can
> > put in my sources which will be substituted at checkout time for
> > revision number, date, last-modified by etc?
>
> Read include/svn_types.h, and grep down to /*** Keyword Substitution ***/
> section. We support 4 keywords -- you just need to activate them by
> setting the svn:keywords property on a file.

For an example, look at how we're doing a date replacement on our
README file at the top of our source tree.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 2 15:40:29 2002

This is an archived mail posted to the Subversion Dev mailing list.