summaryrefslogtreecommitdiff
path: root/subversion/libsvn_client/diff_local.c
diff options
context:
space:
mode:
Diffstat (limited to 'subversion/libsvn_client/diff_local.c')
-rw-r--r--subversion/libsvn_client/diff_local.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/subversion/libsvn_client/diff_local.c b/subversion/libsvn_client/diff_local.c
index df6bc0a8c0092..056ee53e8f28b 100644
--- a/subversion/libsvn_client/diff_local.c
+++ b/subversion/libsvn_client/diff_local.c
@@ -179,7 +179,7 @@ inner_dir_diff(const char *left_abspath,
{
svn_error_clear(err);
right_dirents = apr_hash_make(scratch_pool);
- right_only = TRUE;
+ left_only = TRUE;
}
else
SVN_ERR(err);
@@ -669,9 +669,6 @@ svn_client__arbitrary_nodes_diff(const char **root_relpath,
SVN_ERR(svn_io_check_resolved_path(left_abspath, &left_kind, scratch_pool));
SVN_ERR(svn_io_check_resolved_path(right_abspath, &right_kind, scratch_pool));
- if (depth == svn_depth_unknown)
- depth = svn_depth_infinity;
-
if (left_kind == svn_node_dir && right_kind == svn_node_dir)
{
left_root_abspath = left_abspath;