aboutsummaryrefslogtreecommitdiffstats
path: root/subversion/libsvn_client/info.c
diff options
context:
space:
mode:
Diffstat (limited to 'subversion/libsvn_client/info.c')
-rw-r--r--subversion/libsvn_client/info.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/subversion/libsvn_client/info.c b/subversion/libsvn_client/info.c
index 3331647c9587..2aa4c916cd8e 100644
--- a/subversion/libsvn_client/info.c
+++ b/subversion/libsvn_client/info.c
@@ -167,7 +167,8 @@ build_info_from_dirent(svn_client_info2_t **info,
#define DIRENT_FIELDS (SVN_DIRENT_KIND | \
SVN_DIRENT_CREATED_REV | \
SVN_DIRENT_TIME | \
- SVN_DIRENT_LAST_AUTHOR)
+ SVN_DIRENT_LAST_AUTHOR | \
+ SVN_DIRENT_SIZE)
/* Helper func for recursively fetching svn_dirent_t's from a remote
@@ -267,6 +268,7 @@ same_resource_in_head(svn_boolean_t *same_p,
ctx, pool);
if (err &&
((err->apr_err == SVN_ERR_CLIENT_UNRELATED_RESOURCES) ||
+ (err->apr_err == SVN_ERR_FS_NOT_DIRECTORY) ||
(err->apr_err == SVN_ERR_FS_NOT_FOUND)))
{
svn_error_clear(err);