svn_opt_args_to_target_array

Function svn_opt_args_to_target_array 

Source
pub unsafe extern "C" fn svn_opt_args_to_target_array(
    targets_p: *mut *mut apr_array_header_t,
    os: *mut apr_getopt_t,
    known_targets: *const apr_array_header_t,
    start_revision: *mut svn_opt_revision_t,
    end_revision: *mut svn_opt_revision_t,
    extract_revisions: svn_boolean_t,
    pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description

The same as svn_opt_args_to_target_array2() except that, in addition, if @a extract_revisions is set, then look for trailing “@rev” syntax on the first two paths. If the first target in @a *targets_p ends in “@rev”, replace it with a canonicalized version of the part before “@rev” and replace @a *start_revision with the value of “rev”. If the second target in @a *targets_p ends in “@rev”, replace it with a canonicalized version of the part before “@rev” and replace @a *end_revision with the value of “rev”. Ignore revision specifiers on any further paths. “rev” can be any form of single revision specifier, as accepted by svn_opt_parse_revision().

@deprecated Provided for backward compatibility with the 1.1 API.