* tools/buildbot/slaves/svn-x64-macosx/svncheck.sh: Typosuction.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1639629 13f79535-47bb-0310-9956-ffa450edef68
Extract the httpd version at configure time rather than in
davautocheck.sh, pass --httpd-version as a testsuite option
rather than using the environment SVNTEST_HTTPD_VERSION.
This is how other test flags support both 'make check' and
'make davautocheck'.

* subversion/tests/cmdline/davautocheck.sh
  (SVNTEST_HTTPD_VERSION): Move code to apache.m4.

* build/ac-macros/apache.m4
  (HTTPD_VERSION): Set value, based on code from davautocheck.sh.

* Makefile.in
  (check): Pass --httpd-version.

* build/run_tests.py
  (TestHarness.__init__, TestHarness._run_py_test, main): Add httpd_version.

* subversion/tests/cmdline/svntest/main.py
  (is_mod_dav_url_quoting_broken): Use option rather than environment.
  (TestSpawningThread.run_one): Handle --httpd-version.
  (_create_parser): Add --httpd-version. 


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1639634 13f79535-47bb-0310-9956-ffa450edef68
Fix a segfault occuring when svn_stream_read_full() or svn_stream_skip() are
called for a no-op stream created using svn_stream_create().  Instead of
crashing, these scenarios should gracefully return an expected error
(SVN_ERR_STREAM_NOT_SUPPORTED).

* subversion/libsvn_subr/stream.c
  (svn_stream_create): Do not forget to zero out the 'read_full_fn' member.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1639637 13f79535-47bb-0310-9956-ffa450edef68
* tools/buildbot/slaves/svn-x64-macosx/mkramdisk.sh:
   Make the RAM disk much smaller, current tests don't use more
   than 20% of the previoius size.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1639640 13f79535-47bb-0310-9956-ffa450edef68
Avoid the necessity of nulling out svn_stream_t members one by one.  This
should protect us against a possibility of making mistakes similiar to the
one fixed in r1639637.

* subversion/libsvn_subr/stream.c
  (svn_stream_create): Use apr_pcalloc() instead of apr_palloc() and only
   initialize the non-null parts of the svn_stream_t structure; that's just
   the STREAM->BATON.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1639644 13f79535-47bb-0310-9956-ffa450edef68
Fix fsfs-v6 tests after revprop caching got disabled.

* subversion/tests/templates/greek-fsfs-v6.zip
  (): Remove revprop caching infrastructure files from this template
      because they will make hotcopy tests etc. fail.

git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1639651 13f79535-47bb-0310-9956-ffa450edef68
Make pre-cooked greek repositories work with svnserve (and probably mod_dav).
The main problem is authz configuration etc. that can't be taken generically
from a pre-packaged repo template but depends on test settings.

* subversion/tests/cmdline/svntest/main.py
  (_post_create_repos): New repository setup function. The code is 100%
                        taken from create_repos.
  (unpack_greek_repos): Post-process the repo according to the current
                        test settings.
  (create_repos): Call the new function that contains the rest of the code.

git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1639677 13f79535-47bb-0310-9956-ffa450edef68
Follow-up to r1639677.

* subversion/tests/cmdline/svntest/main.py
  (create_repos): Use the server version provided instead of the global one.

git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1639678 13f79535-47bb-0310-9956-ffa450edef68
* tools/buildbot/slaves/svn-x64-macosx/mkramdisk.sh:
   Go back to using a larger RAM disk, as the current appears to have
   been too small for the bindings tests.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1639980 13f79535-47bb-0310-9956-ffa450edef68
* subversion/tests/cmdline/svn-test-work/svncheck.sh:
   After the tests are done and log files copied, remove the test-work
   directory to make sure there's enough space left on the RAM disk
   for the next test run.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1639981 13f79535-47bb-0310-9956-ffa450edef68
Make 'svnadmin verify --metadata-only' for FSFS f7 not only cover all
rev / pack file data but also the revprops.

In contrast to the rev / pack file checks, this will not detect all
possible modifications but it guarantees that no revprops are missing
or corrupted in a way that checkout etc. would fail.

* subversion/libsvn_fs_fs/verify.c
  (verify_revprops): New verfication sub-function.
  (verify_index_consistency): Rename this ...
  (verify_f7_metadata_consistency): ... to that.  Call the new function
                                    as well.
  (svn_fs_fs__verify): Update caller.

git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1640061 13f79535-47bb-0310-9956-ffa450edef68
Speed up the metadata check for log. addressed FSFS repos.

* subversion/libsvn_fs_fs/cached_data.c
  (svn_fs_fs__check_rep): Reuse the rev / pack file through the same
                          hinting mechanism as in older formats.

git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1640062 13f79535-47bb-0310-9956-ffa450edef68
* subversion/libsvn_fs_x/cached_data.c
  (create_rep_state_body): Reduce scope of variable and avoid using
   it unitialized in an assert, this fixes a clang compiler warning.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1640144 13f79535-47bb-0310-9956-ffa450edef68
Add information about addressing mode of FSFS repositories to 'svnadmin 
info'.

* subversion/include/svn_fs.h
  (svn_fs_fsfs_info_t): Add new LOG_ADDRESSING field.

* subversion/libsvn_fs_fs/fs.c
  (fs_info): Initialize INFO->LOG_ADDRESSING.

* subversion/svnadmin/svnadmin.c
  (subcommand_info): Print information about addressing mode for FSFS 
   repository.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1640197 13f79535-47bb-0310-9956-ffa450edef68
* subversion/svnfsfs/svnfsfs.c
  (sub_main, main): Change 'svnadmin' to 'svnfsfs'.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1640382 13f79535-47bb-0310-9956-ffa450edef68
Add some simple Java clients that use the JavaHL authn API.

* tools/examples/ExampleAuthn.java: New.
* tools/examples/ExampleAuthnOld.java: New.
* tools/examples/ExampleAuthnVeryOld.java: New.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1640533 13f79535-47bb-0310-9956-ffa450edef68
On the svn-auth-x509 branch: Synced with trunk up to r1640679.

git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/svn-auth-x509@1640680 13f79535-47bb-0310-9956-ffa450edef68