Index: subversion/clients/cmdline/ls-cmd.c =================================================================== --- subversion/clients/cmdline/ls-cmd.c (revision 16181) +++ subversion/clients/cmdline/ls-cmd.c (working copy) @@ -276,6 +276,7 @@ svn_cl__opt_state_t *opt_state = ((svn_cl__cmd_baton_t *) baton)->opt_state; svn_client_ctx_t *ctx = ((svn_cl__cmd_baton_t *) baton)->ctx; apr_array_header_t *targets; + svn_boolean_t success; int i; apr_pool_t *subpool = svn_pool_create (pool); @@ -324,12 +325,16 @@ SVN_ERR (svn_opt_parse_path (&peg_revision, &truepath, target, subpool)); - SVN_ERR (svn_client_ls3 (&dirents, - (opt_state->xml || opt_state->verbose) + SVN_ERR (svn_cl__try( + svn_client_ls3 (&dirents, + (opt_state->xml || opt_state->verbose) ? &locks : NULL, - truepath, &peg_revision, - &(opt_state->start_revision), - opt_state->recursive, ctx, subpool)); + truepath, &peg_revision, + &(opt_state->start_revision), + opt_state->recursive, ctx, subpool), + &success, opt_state->quiet, + SVN_ERR_ENTRY_MISSING_URL, + SVN_NO_ERROR)); if (opt_state->xml) SVN_ERR (print_dirents_xml (dirents, locks, truepath, ctx, subpool));