Skip to content

Commit 086655f

Browse files
committed
On the 'utf8-cmdline-prototype' branch: Revert unrelated formatting changes to
minimize diff with trunk. * subversion/libsvn_client/cmdline.c (svn_client__process_target_array): Format APR array construction. * subversion/libsvn_subr/opt.c (svn_opt_parse_revprop2): Put space back. * subversion/svn/svn.c * subversion/svnbench/svnbench.c (sub_main): Format apr_getopt_long call. git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/utf8-cmdline-prototype@1930399 13f79535-47bb-0310-9956-ffa450edef68
1 parent a693928 commit 086655f

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

subversion/libsvn_client/cmdline.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,10 @@ svn_client__process_target_array(apr_array_header_t **targets_p,
123123
int i;
124124
svn_boolean_t rel_url_found = FALSE;
125125
const char *root_url = NULL;
126-
apr_array_header_t *input_targets = apr_array_make(
127-
pool, DEFAULT_ARRAY_SIZE, sizeof(const char *));
128-
apr_array_header_t *output_targets = apr_array_make(
129-
pool, DEFAULT_ARRAY_SIZE, sizeof(const char *));
126+
apr_array_header_t *input_targets =
127+
apr_array_make(pool, DEFAULT_ARRAY_SIZE, sizeof(const char *));
128+
apr_array_header_t *output_targets =
129+
apr_array_make(pool, DEFAULT_ARRAY_SIZE, sizeof(const char *));
130130
apr_array_header_t *reserved_names = NULL;
131131

132132
/* Step 1: create a master array of targets that are in UTF-8

subversion/libsvn_subr/opt.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,11 +358,11 @@ svn_opt_parse_revprop2(apr_hash_t **revprop_table_p,
358358
const char *sep, *propname;
359359
svn_string_t *propval;
360360

361-
if (!*revprop_spec)
361+
if (! *revprop_spec)
362362
return svn_error_create(SVN_ERR_CL_ARG_PARSING_ERROR, NULL,
363363
_("Revision property pair is empty"));
364364

365-
if (!*revprop_table_p)
365+
if (! *revprop_table_p)
366366
*revprop_table_p = apr_hash_make(pool);
367367

368368
sep = strchr(revprop_spec, '=');

subversion/svn/svn.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2294,8 +2294,8 @@ sub_main(int *exit_code,
22942294
const char *utf8_opt_arg;
22952295

22962296
/* Parse the next option. */
2297-
apr_status_t apr_err = apr_getopt_long(os, svn_cl__options,
2298-
&opt_id, &utf8_opt_arg);
2297+
apr_status_t apr_err = apr_getopt_long(os, svn_cl__options, &opt_id,
2298+
&utf8_opt_arg);
22992299
if (APR_STATUS_IS_EOF(apr_err))
23002300
break;
23012301
else if (apr_err)

subversion/svnbench/svnbench.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,8 +455,8 @@ sub_main(int *exit_code,
455455
const char *utf8_opt_arg;
456456

457457
/* Parse the next option. */
458-
apr_status_t apr_err = apr_getopt_long(os, svn_cl__options,
459-
&opt_id, &utf8_opt_arg);
458+
apr_status_t apr_err = apr_getopt_long(os, svn_cl__options, &opt_id,
459+
&utf8_opt_arg);
460460
if (APR_STATUS_IS_EOF(apr_err))
461461
break;
462462
else if (apr_err)

0 commit comments

Comments
 (0)