[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: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2006-08-24 15:41:28 CEST

On 8/23/06, Brian Higgisson <brian.higgisson@mdbc.gov.au> wrote:
> All
>
> 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";
>
> I have searched the documentation but can't see anything like this.

Search for the svn:keywords feature, it does pretty much what you want.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 24 15:44:51 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.