You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Mike Vorozhbensky <mg...@inbox.ru> on 2005/08/16 14:58:46 UTC

small question about keywords

How i can insert in my source code project revison number?

I need somethink like *$Revision$*, but  "global" for project.

Re: small question about keywords

Posted by Max Bowsher <ma...@gmail.com>.
On 8/16/05, Mike Vorozhbensky <mg...@inbox.ru> wrote:
>  How i can insert in my source code project revison number?
>  
>  I need somethink like $Revision$, but  "global" for project.
>  

http://subversion.tigris.org/faq.html#version-in-source

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: small question about keywords

Posted by Stefan Völkel <st...@millenux.com>.
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/ =-

Re: small question about keywords

Posted by Mark Phippard <Ma...@softlanding.com>.
Mike Vorozhbensky <mg...@inbox.ru> wrote on 08/16/2005 10:58:46 AM:

> How i can insert in my source code project revison number?
> 
> I need somethink like $Revision$, but  "global" for project.

http://subversion.tigris.org/faq.html#version-value-in-source

Mark

_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. by IBM Email Security Management Services powered by MessageLabs. 
_____________________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org