Julian Foad <julianf...@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