* subversion/libsvn_fs_fs/index.c
* subversion/libsvn_fs_fs/pack.c
  (stream_error_create, copy_item_to_temp, copy_rep_to_temp, 
   copy_node_to_temp): Use svn_fs_fs__get_file_offset() utility function
   to get current file offset.


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

* subversion/libsvn_fs_fs/revprops.c
  (switch_to_new_revprop): Do not mention removed BUMP_GENERATION argument 
   in docstring.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1639419 13f79535-47bb-0310-9956-ffa450edef68
* subversion/libsvn_fs_fs/stats.c
  (get_phys_change_count): Explain why we use a SUBPOOL here.
                           No functional change.

git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1639426 13f79535-47bb-0310-9956-ffa450edef68
Begin switching the FSFS stats code to using the two-pool paradigm.
Rename existing pools that are either RESULT_POOL or SCRATCH_POOL
accordingly.

* subversion/libsvn_fs_fs/stats.c
  (get_file_size): The pool is used for tempories only.
  (initialize_largest_changes): All allocations are part of the result.
  (parse_representation,
   read_noderev,
   parse_dir): That pool is actually a RESULT_POOL.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1639430 13f79535-47bb-0310-9956-ffa450edef68
Follow-up to r1639319: Fix file object lifetime.

* subversion/libsvn_fs_fs/stats.c
  (read_phys_pack_file): Close rev / pack file only at the end of the
                         pack file.

git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1639436 13f79535-47bb-0310-9956-ffa450edef68
Remove some non-canonical local pools from FSFS stats code.

* subversion/libsvn_fs_fs/stats.c
  (parse_dir,
   read_noderev): Remove sub-pools that don't reduce peak allocation
                  assuming that the SCRATCH_POOL gets cleaned up by
                  read_noderev's caller.

git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1639440 13f79535-47bb-0310-9956-ffa450edef68
Mark basic_tests.py 38 as XFAIL if running DAV tests with a version of
HTTPd where mod_dav has an URL quoting bug.

See: https://issues.apache.org/bugzilla/show_bug.cgi?id=56480

* subversion/tests/cmdline/davautocheck.sh:
   Parse and export the HTTPd versions.

* subversion/tests/cmdline/svntest/main.py
  (__mod_dav_url_quoting_broken_versions): New; the list of HTTPd versions
   where mod_dav is known to have the bug described in PR 56480
  (is_mod_dav_url_quoting_broken): New predicate.
* subversion/tests/cmdline/basic_tests.py
  (special_paths_in_repos): Tag as XFail with the new predicate.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1639507 13f79535-47bb-0310-9956-ffa450edef68
Don't break DAV tests if the HTTPd version isn't set.

* subversion/test/cmdline/svntest/main.py
  (is_mod_dav_url_quoting_broken): Make the existence of the
   SVNTEST_HTTPD_VERSION environment variable optional.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1639519 13f79535-47bb-0310-9956-ffa450edef68
Switch the remainder of the FSFS stats code to two-pool paradigm.

* subversion/libsvn_fs_fs/stats.c
  (read_phys_pack_file,
   read_phys_revision_file): Use 2 pool parameters and drop the local.
  (read_item): Use 2 pool parameters.
  (read_log_rev_or_packfile): Same. Drop the local pool.
  (read_log_pack_file,
   read_log_revision_file): Two-pool paradigm pass-through.
  (read_revisions): Use 2 pool parameters and a proper ITERPOOL.
  (svn_fs_fs__get_stats): Update caller.

git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1639549 13f79535-47bb-0310-9956-ffa450edef68
Add support for building different FS versions to the macosx builder.

* tools/buildbot/slaves/svn-x64-macosx/svncheck.sh:
  (check_tests): New function; run all test variants for one RA type
  (check_fsfs_v6, check_fsfs_v4, check_fsx): New predicates.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1639612 13f79535-47bb-0310-9956-ffa450edef68
* trunk/tools/buildbot/slaves/svn-x64-macosx/svnbuild.sh:
   Move the config.log file where the builder configuration can find it.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1639620 13f79535-47bb-0310-9956-ffa450edef68
* tools/buildbot/slaves/svn-x64-macosx/svnbuild.sh:
   Remove any log files from previous test runs.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1639621 13f79535-47bb-0310-9956-ffa450edef68
Hm, actuallly ... move the test log dir creation to the build script.

[in tools/buildbot/slaves/svn-x64-macosx]
* svncheck.sh: Remove chreation of the source .test-logs directory.
* svnbuild.sh: (Re)create said directory before doing anything else.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1639623 13f79535-47bb-0310-9956-ffa450edef68
Fix svn_stream_compressed() for streams without partial read support.

* subversion/libsvn_subr/stream.c
  (read_helper_gz): Use svn_stream_read_full() to read data from substream.

* subversion/tests/libsvn_subr/stream-test.c
  (empty_read_full_fn): Helper for test_stream_compressed_read_full() test.
  (test_stream_compressed_read_full): New test.
  (test_funcs): Add test test_stream_compressed_read_full() to test list.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1639626 13f79535-47bb-0310-9956-ffa450edef68
* 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