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

Re: Current Updated Revision Number

From: <e.huelsmann_at_gmx.net>
Date: 2003-09-05 17:00:25 CEST

you might use the svnversion command to do this:

compile using gcc -DVERSION=`svnversion .`

There currently is no keyword which is substituted with the output from
svnversion.

bye,

Erik.

> How do I get last revision number for my repository. The keywords
> only seam to handle when that file was last changed. What I would like to
> do is see the revision number on the repository and then use it in my
> code to see who which version a user is using.
> So I can then commit, compile, and have my source code
> auto-versioned...
>
> Is this possible and if so how?
>
> Peter Childs
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>

-- 
COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test
--------------------------------------------------
1. GMX TopMail - Platz 1 und Testsieger!
2. GMX ProMail - Platz 2 und Preis-Qualitätssieger!
3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 5 17:01:26 2003

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.