Checkout
Stefan Sperling
committed
on 25 Mar
Update svn_ra_open4() to svn_ra_open5() across the tree.

Most of these changes are mechanical. JavaHL gains a redirect cycle fix.
The set_s… Show more
Update svn_ra_open4() to svn_ra_open5() across the tree.

Most of these changes are mechanical. JavaHL gains a redirect cycle fix.

The set_svn_ra_open() callback gets updated to the new API.

* subversion/bindings/javahl/native/CommitEditor.cpp

 (open_callback_session): Use svn_ra_open5() and show the redirected URL in

  an error message.

* subversion/bindings/javahl/native/RemoteSession.cpp

 (RemoteSession::RemoteSession): Use svn_ra_open5() and detect redirect

  cycles based on the actual redirection URL sent by the server.

* subversion/libsvn_client/ra.c

 (svn_client__open_ra_session_internal): Use svn_ra_open5().

* subversion/libsvn_ra/ra_loader.c

 (svn_ra_open5): Pass svn_ra_open5 to the svn_svn_ra_open() callback.

* subversion/libsvn_ra/ra_loader.h

 (svn_ra__open_func_t): Update to match svn_ra_open5().

* subversion/libsvn_ra_serf/serf.c

 (svn_ra_serf__open): Update comment referring to svn_ra_open4().

* subversion/svnsync/svnsync.c

 (do_initialize, open_source_session,

  open_target_session): Update to svn_ra_open5().

* subversion/tests/cmdline/atomic-ra-revprop-change.c

 (change_rev_prop): Update to svn_ra_open5().

* subversion/tests/libsvn_ra/ra-test.c

 (make_and_open_repos, check_tunnel_callback_test, tunnel_callback_test,

 tunnel_run_checkout, commit_locked_file): Update to svn_ra_open5().

Show less