Ramkumar Ramachandra wrote:
> Here's a diff of the modifications I made after your review:
That’s quite helpful.
> +++ b/svndumpr.c
> @@ -76,31 +76,19 @@ static svn_error_t *replay_revend(svn_revnum_t revision,
[...]
> + /* Populte ctx->auth_baton with the auth baton
> + non-interactively. Arguments 3, 4 and 5 are for username,
> + password and config_dir which is NULL in this case. Set
> + no_auth_cache and trust_serv_cert to FALSE, don't provide a
> + config, and omit cancel_func/ cancel_baton */
> SVN_ERR(svn_cmdline_create_auth_baton(&(ctx->auth_baton), TRUE,
> NULL, NULL, NULL, FALSE,
> FALSE, NULL, NULL, NULL,
I think you took my suggestion too seriously here. Such a comment
probably will not help people much; instead, maybe a more focused
comment can help the curious avoid looking up
svn_cmdline_create_auth_baton:
/* Default authentication providers for noninteractive
use. */
SVN_ERR(svn_cmdline_create_auth_baton(...
Looking this up, I notice that function was added in svn 1.6.
Hopefully that is okay, since this code is destined for svn trunk.
Except as noted above,
Reviewed-by: Jonathan Nieder <[email protected]>
Thanks.