You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2016/10/30 12:25:35 UTC
svn commit: r1767149 - /subversion/trunk/subversion/libsvn_repos/list.c
Author: stefan2
Date: Sun Oct 30 12:25:35 2016
New Revision: 1767149
URL: http://svn.apache.org/viewvc?rev=1767149&view=rev
Log:
Fix a copy-n-pasto in the new svn_repos_list code.
Found by: danielsh
* subversion/libsvn_repos/list.c
(svn_repos_list): The DEPTH parameter is relevant for the top-level dir.
Modified:
subversion/trunk/subversion/libsvn_repos/list.c
Modified: subversion/trunk/subversion/libsvn_repos/list.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_repos/list.c?rev=1767149&r1=1767148&r2=1767149&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_repos/list.c (original)
+++ subversion/trunk/subversion/libsvn_repos/list.c Sun Oct 30 12:25:35 2016
@@ -239,7 +239,7 @@ svn_repos_list(svn_fs_root_t *root,
/* Report directory contents if requested. */
if (depth > svn_depth_empty)
- SVN_ERR(do_list(root, path, pattern, svn_depth_infinity,
+ SVN_ERR(do_list(root, path, pattern, depth,
path_info_only, authz_read_func, authz_read_baton,
receiver, receiver_baton, cancel_func, cancel_baton,
pool));