Following up on r1613339, move a couple of deprecated functions into the
right place.

* subversion/libsvn_repos/repos.c
  (svn_repos_hotcopy2, svn_repos_hotcopy): Move these deprecated functions...

* subversion/libsvn_repos/deprecated.c
  (svn_repos_hotcopy2, svn_repos_hotcopy): ...here.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1615524 13f79535-47bb-0310-9956-ffa450edef68
Get rid of the -Wdeprecated-declarations usage warning for svn_fs_hotcopy2().

For consistency's sake, move all existing libsvn_fs compatibility wrappers
(e.g. svn_fs_hotcopy() or svn_fs_begin_txn()) into the new 'deprecated.c'
file.  Do not touch non-trivial (depending on other static functions or
directly calling the vtable members) deprecated functions, e.g svn_fs_new().
We cannot move them without actually changing the code and they do not
trigger deprecation warnings, so just leave them as is.

* subversion/libsvn_fs/access.c
  (svn_fs_access_add_lock_token): Move this ...

* subversion/libsvn_fs/fs-loader.c
  (svn_fs_upgrade, svn_fs_hotcopy2, svn_fs_hotcopy,
   svn_fs_begin_txn, svn_fs_change_rev_prop, svn_fs_get_locks): ...and these
    deprecated functions ...

* subversion/libsvn_fs/deprecated.c
  (svn_fs_upgrade, svn_fs_hotcopy2, svn_fs_hotcopy,
   svn_fs_begin_txn, svn_fs_change_rev_prop, svn_fs_get_locks,
   svn_fs_access_add_lock_token): ...into this new file.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1615528 13f79535-47bb-0310-9956-ffa450edef68
Rework the way we create sharded repositories within the svnadmin command-
line tests.  Instead of hardcoding different 'db/format' contents for
different (server_minor_version, fs_type) test constraints, achieve the
same by using a separate helper function.  Do not attempt to generalize
this logic, because right now we only require this in a couple of tests.

* subversion/tests/cmdline/svnadmin_tests.py
  (write_sharded_format): New.  Patches the 'db/format' contents of the
    repository filesystem so that it would use the specified sharded layout.
    Strictly speaking, calling chmod() here is not currently required,
    because we make all test repositories world-writeable as a part of the
    their initialization.  However, this helper should also work for the
    repositories that were created indirectly, e.g. via 'svnadmin create'.
    These repositories would contain a read-only 'db/format' file, hence we
    would fail to patch it without preparative permission juggling.
  (hotcopy_incremental_packed, verify_packed, fsfs_hotcopy_progress):
    Simplify these tests by utilizing the new helper.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1615541 13f79535-47bb-0310-9956-ffa450edef68
* subversion/tests/cmdline/svnadmin_tests.py
  (freeze_freeze): Following up on r1589476, entirely avoid creating a
    working copy within this test.  We only need it as a placeholder for the
    temporary 'arg-file', so we might as well use the Sandbox.get_tempname()
    helper routine.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1615551 13f79535-47bb-0310-9956-ffa450edef68
* subversion/tests/libsvn_fs_fs/fs-fs-pack-test.c
  (recursive_locking): Don't crash when running under FSX since this test
    isn't meant for FSX.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1616097 13f79535-47bb-0310-9956-ffa450edef68
* subversion/libsvn_subr/sqlite.c
  (close_apr): Remove code that doesn't really do anyting but try to convince
    a debugger to be able to see a value.  Hopefully, the bug has been fixed in
    the deubgger.  This was trigger a -Wself-assign warning in LLVM.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1616098 13f79535-47bb-0310-9956-ffa450edef68
Stop re-using a single notify struct while loading a repository from a
dumpfile. While nice in theory it is easy to forget clearing out variables
in the struct, which our bindings then try to read on the next invocation.

As temporary -but safe to backport- intermediate step introduce a scratch/
iter pool to hold the notification struct, while the code doesn't have
proper scratch pools yet.

This resolves a segfault in the JavaHL tests on OpenBSD
Found by: stsp

* subversion/libsvn_repos/load-fs-vtable.c
  (parse_baton): Remove notify struct. Add notify pool.
  (new_revision_record,
   maybe_add_with_history,
   new_node_record,
   set_node_property,
   close_node,
   close_revision): Allocate notify struct instead of reusing.
  (svn_repos_get_fs_build_parser4): Update initialization.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1616131 13f79535-47bb-0310-9956-ffa450edef68
* tools/dev/unix-build/Makefile.svn: Fetch distfiles over HTTPS where possible.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1616152 13f79535-47bb-0310-9956-ffa450edef68
* tools/dev/unix-build/Makefile.svn: Add a convenience target to fetch distfiles.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1616153 13f79535-47bb-0310-9956-ffa450edef68
* tools/dev/unix-build/Makefile.svn: Turns out Oracle is incompetent WRT https.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1616160 13f79535-47bb-0310-9956-ffa450edef68
* tools/dev/unix-build/Makefile.svn: Verify distfiles with SHA256.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1616161 13f79535-47bb-0310-9956-ffa450edef68
* tools/dev/unix-build/Makefile.svn: Upgrade to neon 0.30.0.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1616167 13f79535-47bb-0310-9956-ffa450edef68
* tools/dev/unix-build/Makefile.svn: Update to APR 1.5.1.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1616170 13f79535-47bb-0310-9956-ffa450edef68
* tools/dev/unix-build/Makefile.svn: Update to sqlite 3.8.5.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1616172 13f79535-47bb-0310-9956-ffa450edef68
* tools/dev/unix-build/Makefile.svn: Update to libmagic 5.19.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1616174 13f79535-47bb-0310-9956-ffa450edef68
Eradicate atoi() calls. We're not in 1980 anymore.

* subversion/libsvn_subr/win32_xlate.c
  (get_page_id_from_name): Use svn_cstring_atoi().

* subversion/libsvn_wc/workqueue.c
  (svn_wc__wq_run): Use svn_cstring_atoi().


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1616185 13f79535-47bb-0310-9956-ffa450edef68
* tools/dev/unix-build/Makefile.svn: Update to Python 2.7.8.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1616230 13f79535-47bb-0310-9956-ffa450edef68
* subversion/tests/cmdline/svntest/main.py
  (TestSpawningThread.run_one): Pass on --fsfs-packing and --fsfs-sharding
   so that they take effect when used with --parallel.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1616247 13f79535-47bb-0310-9956-ffa450edef68
* subversion/tests/cmdline/svntest/main.py
  (create_repos): Don't create the packing post-commit script for old
   repository formats that don't support packing.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1616251 13f79535-47bb-0310-9956-ffa450edef68
Revert r1616098 and use a different technique.

* subversion/libsvn_subr/sqlite.c
  (close_apr): Restore the local variable and cast to void to supress
    the unused warning.

Suggested by: brane


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1616254 13f79535-47bb-0310-9956-ffa450edef68