Fix svn_repos_stat() implemention for directories to match the svn_dirent_t
docstring.
* subversion/libsvn_repos/list.c
(fill_dirent): Make sure SIZE is 0 for directories.
@@ -50,6 +50,8 @@ fill_dirent(svn_dirent_t *dirent,
if (dirent->kind == svn_node_file)
SVN_ERR(svn_fs_file_length(&(dirent->size), root, path, scratch_pool));
+ else
+ dirent->size = 0;
SVN_ERR(svn_fs_node_has_props(&dirent->has_props, root, path,
scratch_pool));
