[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] svn command - ls - Multiple targets

From: Stefan Sperling <stsp_at_elego.de>
Date: Mon, 14 Feb 2011 13:25:13 +0100

On Mon, Feb 14, 2011 at 01:18:58PM +0100, Stefan Sperling wrote:
> > @@ -301,5 +318,8 @@
> > if (opt_state->xml && ! opt_state->incremental)
> > SVN_ERR(svn_cl__xml_print_footer("lists", pool));
> >
> > - return SVN_NO_ERROR;
> > + if (saw_a_problem)
> > + return svn_error_create(SVN_ERR_BASE, NULL, NULL);
> > + else
> > + return SVN_NO_ERROR;
> > }

Oh, and I'm not sure if SVN_ERR_BASE and no message is the right
thing to do here. Maybe this should be an error code such as
SVN_ERR_ILLEGAL_TARGET and a message like _("Could not list all
targets because some targets don't exist")?
Received on 2011-02-14 13:26:04 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.