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

svn_client_list() description in API document(svn_client.h)

From: Yasuhito FUTATSUKI <futatuki_at_poem.co.jp>
Date: Thu, 4 Oct 2018 19:37:01 +0900

Greetings,

(This is repost, because my previous post from Cc: address seems to be
discarded by amavisd-new....)

While I've read API docs about svn_client_list() to writing compatibility
code, I bit confused. As the community guide says post to users@ to ask
before entry to issue tracker whether it is a bug or not, so I post this.

In ^/subversion/trunk/subversion/include/svn_client.h_at_1841567 says about
svn_client_list():
> * Similar to svn_client_list2(), but with @a recurse instead of @a depth.
> * If @a recurse is TRUE, pass #svn_depth_files for @a depth; else
> * pass #svn_depth_infinity.

However, ^/subversion/trunk/subversion/libsvn_client/deprecated.c_at_1822534,
implementation of svn_client_list() uses macro
SVN_DEPTH_INFINITY_OR_IMMEDIATES(recurse), which is svn_depth_infinity if
recurse is TRUE else svn_depth_immediates.

I'm afraid I think the description in svn_client.h is mistaken, isn't it?

-- 
Yasuhito FUTATSUKI
Received on 2018-10-04 15:01:17 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.