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

Re: [PATCH] Add platform information to user agent string

From: Ivan Zhakov <ivan_at_visualsvn.com>
Date: Mon, 5 Nov 2012 18:43:14 +0400

On Mon, Nov 5, 2012 at 6:30 PM, Branko Čibej <brane_at_wandisco.com> wrote:
> On 05.11.2012 15:10, Ivan Zhakov wrote:
>> Here is updated patch:
>> [[[
>> Add target platform information to user agent string.
>>
>> * subversion/libsvn_ra_serf/ra_serf.h
>> (USER_AGENT): Add target platform information.
>> * subversion/libsvn_ra_serf/ra_svn.h
>> (SVN_RA_SVN__DEFAULT_USERAGENT): Add target platform information.
>> * configure.ac
>> (SVN_BUILD_TARGET): Define to ${target}.
>> * subversion/svn_private_config.hw
>> (SVN_BUILD_TARGET): Define.
>> ]]]
>>
>> NOTE: I tested it only on Windows platform.
>
> The patch looks OK, but you'll also have to do something with
>
> build/transform_config_hw.py
>
> so that the SVN_BUILD_TARGET in svn_private_config.hw gets set to the
> correct value.
>
We cannot add Windows version information to SVN_BUIILD_TARGET like we
do for SVN_BUILD_HOST, since we compile it for any Windows version.

-- 
Ivan Zhakov
Received on 2012-11-05 15:44:06 CET

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.