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

Re: How do I escape a subversion keyword?

From: <darxus_at_chaosreigns.com>
Date: Fri, 27 May 2011 13:27:36 -0400

On 05/27, Bob Archer wrote:
> I'm confused about what you are asking. Are you saying you don't want
> subversion to expand the keywords? If so, then remove them from the
> svn:keywords property. Any keywords not in the property are not expanded.

I want the expanded keyword, and the *un-expanded* keyword to both exist in
the same file.

So after expansion, it would look like:

  if ('$LastChangedDate$' eq '$LastChangedDate: 2010-03-30 08:02:18 -0400 (Tue, 30 Mar 2010) $')

And when expansion doesn't happen (with launchpad build recipes), it'll
look like:

  if ('$LastChangedDate$' eq '$LastChangedDate$')

-- 
"One armed student or teacher could have stopped the killer, but all
died obeying the rules."
- http://www.olegvolk.net/gallery/technology/arms/yourkid0181.jpg.html
http://www.ChaosReigns.com
Received on 2011-05-27 19:28:08 CEST

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.