[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: Branko Čibej <brane_at_wandisco.com>
Date: Mon, 05 Nov 2012 15:30:53 +0100

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 might want to use this macro in svn --version [--verbose], too; but
that's a separate issue.)

-- Brane
Received on 2012-11-05 15:31:35 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.