Index: subversion/libsvn_client/status.c =================================================================== --- subversion/libsvn_client/status.c (revision 935319) +++ subversion/libsvn_client/status.c (working copy) @@ -391,17 +391,16 @@ svn_client_status5(svn_revnum_t *result_rev, &kind, pool)); if (kind == svn_node_none) { - const svn_wc_entry_t *entry; - SVN_ERR(svn_wc__get_entry_versioned(&entry, ctx->wc_ctx, - dir_abspath, svn_node_dir, - FALSE, FALSE, - pool, pool)); + svn_boolean_t is_added; + SVN_ERR(svn_wc__node_is_status_added(&is_added, ctx->wc_ctx, + dir_abspath, pool)); + /* Our status target does not exist in HEAD of the repository. If we're just adding this thing, that's fine. But if it was previously versioned, then it must have been deleted from the repository. */ - if (entry->schedule != svn_wc_schedule_add) + if (! is_added) sb.deleted_in_repos = TRUE; /* And now close the edit. */