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

Missing runtime version number API - add for 1.0?

From: Barry Scott <barry_at_barrys-emacs.org>
Date: 2004-02-17 21:51:44 CET

I went looking for a way to find the version of the client API that
my code was working against at run time. I only found this comment
in svn_version.h

gstein r7352 2003-10-8
  /* ### need runtime query function(s). see apr_version.h for example. */

I'd love to be able to query the version of svn that my code is
running against. At a minimum so that I can report the svn version
correctly for use in defect reports.

I noticed this problem when testing on RedHat that had 0.36.0 rpm's
installed but pysvn reported 0.37.0, not good.

Is this something that should be added for 1.0? It would be a new
API function so it will no break existing users.

I suppose you have to add one version query for every .so/.dll that
you have.

        Barry

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Feb 17 21:52:02 2004

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.