Hey,
log message:
[[[
* subversion/svn/commit-cmd.c
(commit_infos): Since we do one single commit for each working copy, this new
variable is used to store svn_commit_info_t of all single commit.
Then we call svn_client_commit5() in this function instead of svn_client_commit4().
At last we output all svn_commit_info_t in turn.
]]]
Index: subversion/svn/commit-cmd.c
===================================================================
--- subversion/svn/commit-cmd.c (revision 38429)
+++ subversion/svn/commit-cmd.c (working copy)
@@ -54,6 +54,7 @@
const char *base_dir;
svn_config_t *cfg;
svn_boolean_t no_unlock = FALSE;
+ apr_array_header_t *commit_infos = NULL;
svn_commit_info_t *commit_info = NULL;
int i;
@@ -116,9 +117,10 @@
ctx->config, pool));
/* Commit. */
- err = svn_client_commit4(&commit_info,
+ err = svn_client_commit5(&commit_infos,
targets,
opt_state->depth,
+ TRUE,
no_unlock,
opt_state->keep_changelists,
opt_state->changelists,
@@ -141,7 +143,13 @@
}
SVN_ERR(svn_cl__cleanup_log_msg(ctx->log_msg_baton3, err, pool));
if (! err && ! opt_state->quiet)
- SVN_ERR(svn_cl__print_commit_info(commit_info, pool));
+ {
+ for (i = 0; i < commit_infos->nelts; i++)
+ {
+ commit_info = APR_ARRAY_IDX(commit_infos, i ,svn_commit_info_t *);
+ SVN_ERR(svn_cl__print_commit_info(commit_info, pool));
+ }
+ }
return SVN_NO_ERROR;
}
Thank you.
Huihuang
--------------
yellow.flying
2009-07-16
__________________________________________________
赶快注册雅虎超大容量免费邮箱?
http://cn.mail.yahoo.com
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2371661
Received on 2009-07-16 05:01:07 CEST