/[Apache-SVN]
ViewVC logotype

Revision 1825302


Jump to revision: Previous Next
Author: brane
Date: Sun Feb 25 13:22:55 2018 UTC (6 years, 1 month ago)
Changed paths: 5
Log Message:
Return a better error message when connecting to an URL on a server
that does not implement the DAV protocol.

* subversion/libsvn_ra_serf/options.c
  (options_context_t): New member received_dav_header.
  (capabilities_headers_iterator_callback):
   Set it if the HTTP response contains the DAV: header.
  (options_response_handler):
   Bail out early with a specific message if the server doesn't support DAV.

* subversion/tests/cmdline/dav_tests.py: New test fixture.
* subversion/tests/cmdline/svntest/main.py
  (other_dav_root_dir, non_dav_root_dir): New global variable.
  (execute_tests): Initialize other_dav_root_dir and non_dav_root_dir.
* subversion/tests/cmdline/svntest/actions.py
  (setup_pristine_greek_repository):
   Create the directories for other_dav_root_dir and non_dav_root_dir.

* subversion/tests/cmdline/davautocheck.sh:
   Load mod_dav_fs and configure httpd for dav_tests.py.


Changed paths

Path Details
Directorysubversion/trunk/subversion/libsvn_ra_serf/options.c modified , text changed
Directorysubversion/trunk/subversion/tests/cmdline/dav_tests.py added
Directorysubversion/trunk/subversion/tests/cmdline/davautocheck.sh modified , text changed
Directorysubversion/trunk/subversion/tests/cmdline/svntest/actions.py modified , text changed
Directorysubversion/trunk/subversion/tests/cmdline/svntest/main.py modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26