[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 <nospam>

From: Peter Childs <blue.dragon_at_blueyonder.co.uk>
Date: 2003-09-05 17:13:28 CEST

On Fri, 5 Sep 2003 e.huelsmann@gmx.net wrote:

> 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.

        Super a keyword might be useful one day however.... maybe a TODO
is in order.

Peter Childs

>
> 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
> >
>
>

---------------------------------------------------------------------
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:14:37 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.