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

Re: small question about keywords

From: Stefan Völkel <stefan.voelkel_at_millenux.com>
Date: 2005-08-16 17:57:46 CEST

On Tue, 2005-08-16 at 18:58 +0400, Mike Vorozhbensky wrote:
> How i can insert in my source code project revison number?
> I need somethink like $Revision$, but "global" for project.

I am using $HeadURL for that:

        http://foo/svn/project/tags/project-1.2.3/somescript

I extract the version information from the tagname, here project-1.2.3

regards
        Stefan

-- 
Stefan Völkel                            stefan.voelkel@millenux.com
Millenux GmbH                              mobile: +49.170.79177.17
Lilienthalstraße 2                          phone: +49.711.88770.300
70825 Stuttgart-Korntal                       fax: +49.711.88770.349
     -= linux without limits -=- http://linux.zSeries.org/ =-

Received on Tue Aug 16 17:59:04 2005

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.