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

Re: svn commit: r1379689 - in /subversion/trunk/subversion/libsvn_subr: deprecated.c opt.c opt.h

From: Branko Čibej <brane_at_wandisco.com>
Date: Tue, 04 Sep 2012 13:24:42 +0200

On 01.09.2012 23:41, Daniel Shahaf wrote:
> Branko Čibej wrote on Sat, Sep 01, 2012 at 06:55:40 +0200:
>> On 01.09.2012 06:48, brane_at_apache.org wrote:
>>> Author: brane
>>> Date: Sat Sep 1 04:48:26 2012
>>> New Revision: 1379689
>>>
>>> URL: http://svn.apache.org/viewvc?rev=1379689&view=rev
>>> Log:
>>> First step towards making client version informatin usable by other than
>>> the svn command-line client.
>>>
>>> * subversion/libsvn_subr/opt.h (svn_opt__get_version_info): Renamed from
>>> svn_opt__print_version_info and prototype changed to return a string.
>>> Updated docstring.
>> The plan here is to make svn_opt__get_version_info public, so that other
>> clients built on top of the core Subversion libraries -- e.g.,
>> TortoiseSVN -- can use it directly instead of having to construct their
>> own version info.
>>
>> I /think/ this would be a useful addition to the API, but would welcome
>> any comments on this plan.
>>
> Currently the function constructs and returns a string. For API use
> maybe it should return a struct?

Updated to do just that in r1380559. Comments welcome.

-- Brane

-- 
Certified & Supported Apache Subversion Downloads:
http://www.wandisco.com/subversion/download
Received on 2012-09-04 13:25:20 CEST

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.