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

Re: [Patch] adding macro to check for a specific major/minor

From: Max Bowsher <maxb_at_ukf.net>
Date: 2005-06-05 21:32:46 CEST

Marcus Rueckert wrote:
>> Given the nature of our compatibility policies, I'm not entirely
>> convinced
>> this macro is going to be useful.
>>
>> What are we going to do when we hit 2.0? Will all our numerically
>> suffixed
>> symbols revert to their plain forms?
>> If so, then the above macro simply won't be useful to people.
>
> max ... why is it useful for the apache folks?

I don't know. I'm not well versed in Apache compat standards. I do know that
they are different from Subversion's, because if they were the same, Apache
couldn't adopt APR 1.x until Apache 3.x.

> i think it makes the work for users of the svn api much easier.

How is it easier than a simple "SVN_VER_MINOR >= X" ?

And if someone really did want to support multiple Subversion major
versions, wouldn't the appropriate test be:

SVN_VER_MAJOR == X && SVN_VER_MINOR >= Y

?

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jun 5 21:33:40 2005

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