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

Re: Possible enhancement

From: Ryan Schmidt <subversion-2006c_at_ryandesign.com>
Date: 2006-08-24 15:52:17 CEST

On Aug 24, 2006, at 01:42, Brian Higgisson wrote:

> Does Subversion provide a mechanism that would allow revision
> details to
> be embedded in source code? If not, would such a capability be
> worthwhile adding? The sort of thing I was thinking about was some
> sort
> of simple macro replacement on commit. For example something like:
>
> #SubversionMacro# string:="Revision=#Rev#, updated on #date#";
> //replace line below
> string:="Revision=1, updated on 01/06/2006";

Yes, it does; it's called keywords:

http://svnbook.red-bean.com/en/1.2/
svn.advanced.props.html#svn.advanced.props.special.keywords

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 24 16:02:08 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.