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

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

From: Daniel Shahaf <danielsh_at_apache.org>
Date: Thu, 4 Oct 2018 13:56:41 +0000

Yasuhito FUTATSUKI wrote on Thu, Oct 04, 2018 at 19:37:01 +0900:
> 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?

Good catch! Fixed in r1842813.

(I also changed "TRUE" to "FALSE".)

Thanks,

Daniel
Received on 2018-10-04 15:56:55 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.