Senthil,
>
> /* Update auto-props-enable option, and populate the MIME types map,
> - for add/import commands */
> + for add/import commands. Also check for mutually exclusive options
> + --auto-props and --no-auto-props */
> if (subcommand->cmd_func == svn_cl__add
> || subcommand->cmd_func == svn_cl__import)
> {
> + if (opt_state.autoprops && opt_state.no_autoprops)
> + {
> + err = svn_error_create(SVN_ERR_CL_MUTUALLY_EXCLUSIVE_ARGS, NULL,
> + _("--auto-props and --no-auto-props are "
> + "mutually exclusive"));
> + return svn_cmdline_handle_exit_error(err, pool, "svn: ");
> + }
> +
>
This code may not compile in older version of C compilers(code before
declaration.)
With regards
Kamesh Jayachandran
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Aug 13 16:22:00 2007