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

Re: svn commit: r1420404 - in /subversion/trunk/subversion/libsvn_wc: token-map.h wc-queries.sql

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Wed, 12 Dec 2012 12:00:26 +0000

Julian Foad <julianfoad_at_btopenworld.com> writes:

>> Author: philip
>
>>
>> URL: http://svn.apache.org/viewvc?rev=1420404&view=rev
>> Log:
>> * subversion/libsvn_wc/token-map.h
>>   (depth_map): Add some annotations.
>>
>> * subversion/libsvn_wc/wc-queries.sql
>>   (STMT_HAS_SPARSE_NODES): Use annotations.
>
>> Modified: subversion/trunk/subversion/libsvn_wc/token-map.h
>> /* The subset of svn_depth_t used in the database. */
>> static const svn_token_map_t depth_map[] = {
>> -  { "unknown", svn_depth_unknown },
>> +  { "unknown", svn_depth_unknown }, /* MAP_DEPTH_UNKNOWN */
>>   { "empty", svn_depth_empty },
>>   { "files", svn_depth_files },
>>   { "immediates", svn_depth_immediates },
>> -  { "infinity", svn_depth_infinity },
>> +  { "infinity", svn_depth_infinity }, /* MAP_DEPTH_INFINITY */
>
> Might as well just annotate all the values at once, no?

Perhaps, but I decided to avoid adding things that would be unused.
It's simple enough to add them when needed.

-- 
Certified & Supported Apache Subversion Downloads:
http://www.wandisco.com/subversion/download
Received on 2012-12-12 13:01:08 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.