From 22147e2214f779ea49fb6342eb31d71eba4a589c Mon Sep 17 00:00:00 2001 From: glasser Date: Wed, 9 Apr 2008 00:20:39 +0000 Subject: [PATCH] When svnsync checks to see if the server supports partial replay, actually pay attention to the response instead of just the error. * subversion/svnsync/main.c (do_initialize): Actually use the return value from svn_ra_has_capability. git-svn-id: http://svn.collab.net/repos/svn/trunk@30440 612f8ebc-c883-4be0-9ee0-a4e9ef946e3a --- subversion/svnsync/main.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/subversion/svnsync/main.c b/subversion/svnsync/main.c index ab2e985c8..825ec36d9 100644 --- a/subversion/svnsync/main.c +++ b/subversion/svnsync/main.c @@ -636,9 +636,12 @@ do_initialize(svn_ra_session_t *to_session, if (err && err->apr_err == SVN_ERR_UNKNOWN_CAPABILITY) { svn_error_clear(err); - return svn_error_create(SVN_ERR_RA_PARTIAL_REPLAY_NOT_SUPPORTED, NULL, - NULL); + server_supports_partial_replay = FALSE; } + + if (!server_supports_partial_replay) + return svn_error_create(SVN_ERR_RA_PARTIAL_REPLAY_NOT_SUPPORTED, NULL, + NULL); } SVN_ERR(svn_ra_change_rev_prop(to_session, 0, SVNSYNC_PROP_FROM_URL, -- 2.11.4.GIT