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

Re: Dev Build System: Include Revision Number

From: Max Bowsher <maxb1_at_ukf.net>
Date: 2006-07-17 22:34:12 CEST

Christopher Ness wrote:
> Does anyone out there have a patch to update the build system so that it
> includes the revision number the source was built from in
> `/subversion/include/svn_version.h`
>
> SVN_VER_TAG
> SVN_VER_NUMTAG
>
> Instead of the non-descriptive development strings?
>
> I'd like to know what revision I'm running without having to find the
> working copy I built the source from.
>
> Please note I'm not suggesting removing the dev strings, I feel it is
> still important to know a development version of the code is used, but I'd
> also like to know the revision.

It's deliberately not done to avoid needing to run 'svnversion', and
relink everything from libsvn_subr on upwards, on *every* invocation of
'make'.

Ideas welcome, but clearly relinking the entire libsvn_foo library stack
on every 'make' is unacceptable.

Max.

Received on Mon Jul 17 22:34:54 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.