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

RE: Re: Get latest revision number for web app

From: Arthur Penn <APenn_at_quilogy.com>
Date: 2006-06-21 15:58:41 CEST

Hello,

Is there no way to get the keyword substitution to only provide the revision number without the $Revision: xx$ text? I'd like to use the output in a build script to set a portion of the version number but the way the output is produced I have to parse it.

Cheers.

Arthur

-----Original Message-----
From: Andres Freund [mailto:andres@anarazel.de]
Sent: Wednesday, June 21, 2006 6:11 AM
To: users@subversion.tigris.org; n.haigh@sheffield.ac.uk
Subject: Re: Get latest revision number for web app

Hi,

On Wednesday 21 June 2006 11:36, Nathan Haigh wrote:
> I am using svn to track changes/version of a web application. I would
> like to be able to dynamically embed the revision number of the checkout
> code into the applications homepage using php. Does anyone know if this
> is possible or how this could be done.
Look for svn:keywords in the svnbook:
http://svnbook.red-bean.com/nightly/en/svn.advanced.props.html#svn.advanced.props.special.keywords
I dont see where you need to do something dynamically though, so perhaps i did
misunderstand you.

Greetings,

Andres

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jun 21 16:07:19 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.