Skip to content

Commit 51f32b6

Browse files
committed
On the 'utf8-cmdline-prototype' branch: Move implementation of the
svn_opt_args_to_target_array4() function away from deprecated.c into opt.c. * subversion/libsvn_subr/deprecated.c (svn_opt_args_to_target_array4): Remove. * subversion/libsvn_subr/opt.c (svn_opt_args_to_target_array4): Add. git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/utf8-cmdline-prototype@1930449 13f79535-47bb-0310-9956-ffa450edef68
1 parent 3c79580 commit 51f32b6

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

subversion/libsvn_subr/deprecated.c

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -808,20 +808,6 @@ svn_opt_subcommand_help(const char *subcommand,
808808
}
809809
}
810810

811-
svn_error_t *
812-
svn_opt_args_to_target_array4(apr_array_header_t **targets_p,
813-
apr_getopt_t *os,
814-
const apr_array_header_t *known_targets,
815-
apr_pool_t *pool)
816-
{
817-
apr_array_header_t *utf8_input_targets;
818-
819-
SVN_ERR(svn_opt_parse_all_args(&utf8_input_targets, os, pool));
820-
821-
return svn_error_trace(svn_opt__process_target_array(
822-
targets_p, utf8_input_targets, known_targets, pool));
823-
}
824-
825811
svn_error_t *
826812
svn_opt_args_to_target_array3(apr_array_header_t **targets_p,
827813
apr_getopt_t *os,

subversion/libsvn_subr/opt.c

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,20 @@ svn_opt__process_target_array(apr_array_header_t **targets_p,
350350
return err;
351351
}
352352

353+
svn_error_t *
354+
svn_opt_args_to_target_array4(apr_array_header_t **targets_p,
355+
apr_getopt_t *os,
356+
const apr_array_header_t *known_targets,
357+
apr_pool_t *pool)
358+
{
359+
apr_array_header_t *utf8_input_targets;
360+
361+
SVN_ERR(svn_opt_parse_all_args(&utf8_input_targets, os, pool));
362+
363+
return svn_error_trace(svn_opt__process_target_array(
364+
targets_p, utf8_input_targets, known_targets, pool));
365+
}
366+
353367
svn_error_t *
354368
svn_opt_parse_revprop2(apr_hash_t **revprop_table_p,
355369
const char *revprop_spec,

0 commit comments

Comments
 (0)