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

Re: Where to define the version number?

From: Blair Zajac <blair_at_orcaware.com>
Date: 2002-08-06 22:12:21 CEST

Karl Fogel wrote:
> I'm wondering if svn_version.h is really the right place to define
> these. If we did it in configure.in, then Art could use it, and it
> would be easy to pass the same version information down to both
> build.conf (which would become build.conf.in) and svn_version.h
> (becomes svn.version.h.in).

I'd like to have this in configure.in. We could actually do something
smart there, such as check if the tree is dev build with .svn directories
and find all the revision numbers for the files in the repos. This
would allow us to show more accurately which revision number was used
to build Subversion, something that I find lacking right now. Having
it say version 0.14.0 for many revisions is not ideal.

Configure.in could create something like this in a single revision tree:

Subversion Client, version 0.14.0 (dev build based on rev 2900)

and this in a mixed revision tree

Subversion Client, version 0.14.0 (dev build based on revs 2834, 2846, 2900)

For people submitting bug reports to us, this would help a lot. Even
though in the mixed revision case we don't know which files are at a
particular revision, this specific information won't be required unless
some debugging is taking place.

Best,
Blair

-- 
Blair Zajac <blair@orcaware.com>
Web and OS performance plots - http://www.orcaware.com/orca/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Aug 6 22:13:34 2002

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.