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

Re: svn commit: r1662227 - in /subversion/branches/svn-info-detail/subversion: svn/info-cmd.c tests/cmdline/info_tests.py

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Wed, 25 Feb 2015 14:42:46 +0000

> URL: http://svn.apache.org/r1662227
> Log:
> On the svn-inf-detail branch: Make error messages more concise
> and consistent with other subcommands.

> @@ -878,13 +878,13 @@ svn_cl__info(apr_getopt_t *os,
>        receiver = print_info_xml;
>
>        if (opt_state->show_item)
> -        return svn_error_create(SVN_ERR_CL_ARG_PARSING_ERROR, NULL,
> -                                _("the 'show-item' option is not valid"
> -                                  " in XML mode"));
> +        return svn_error_create(
> +            SVN_ERR_CL_ARG_PARSING_ERROR, NULL,
> +            _("--show-item is not valid in --xml mode"));
>        if (opt_state->no_newline)
> -        return svn_error_create(SVN_ERR_CL_ARG_PARSING_ERROR, NULL,
> -                                _("the 'no-newline' option is only valid"
> -                                  " with the 'show-item' option"));
> +        return svn_error_create(
> +            SVN_ERR_CL_ARG_PARSING_ERROR, NULL,
> +            _("--no-newline' is only valid with --show-item"));

This is in the 'if XML mode' code path. It shouldn't say 'only valid with --show-item', but instead 'not valid in XML mode' here.

[...]

- Julian
Received on 2015-02-25 15:46:48 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.