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

Re: alternative keyword substitution notation

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2007-07-26 13:37:19 CEST

On 7/26/07, roberto de vecchi <roberto.devecchi@vi-grade.com> wrote:
>
> Within our organization we need to manage file in which the $ symbol is
> recognized as a special character (function parameters for example are
> declared in this way). My goal would be to be able to enable the keyword
> substitution for these files but to make this possibile I would need a way
> to use a different notation (based on a different symbol) to describe the
> anchor text.
>
> does someone have any kind of suggestion about it? From my point of view
> also a key like \$Rev\$ would work but currently svn is not recognizing it
> (of course!)

Keywords are normally inserted in comment sections. Does your file not
have such a concept?

Another solution is to have the expanded keyword in a string:

$version = "$Rev$"

HTH,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jul 26 13:36:23 2007

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.