Remove an explicit END handler that performs a cleanup that is already
handled by the standard tempdir() support. As END handlers are run in LIFO
order this block was executed before the RA session was closed, thereby
reporting an unneeded test cleanup failure on Windows.

* subversion/bindings/swig/perl/native/t/6ra.t
  (END): Remove block.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1643072 13f79535-47bb-0310-9956-ffa450edef68
Fix the 'svnadmin load' part of issue #4476 "Mergeinfo containing r0 makes
svnsync and svnadmin dump fail".

Make 'svnadmin load' accept mergeinfo containing r0 (with a warning) if the
option to validate properties is not enabled. In that case that mergeinfo
property will not be adjusted for revision numbers or paths. Add a test.

* subversion/include/svn_repos.h
  (svn_repos_notify_warning_t): Add a new value for invalid mergeinfo.

* subversion/libsvn_repos/load-fs-vtable.c
  (adjust_mergeinfo_property): New, factored out of ...
  (set_node_property): ... here. If adjusting the mergeinfo fails, return an
    error if validating properties, or give a warning and use the invalid
    value otherwise.

* subversion/tests/libsvn_repos/dump-load-test.c
  (test_dump_bad_props): New, factored out of...
  (test_dump_r0_mergeinfo): ... here.
  (test_load_bad_props,
   load_r0_mergeinfo_notifier,
   test_load_r0_mergeinfo): New.
  (test_funcs): Add the new test.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1643074 13f79535-47bb-0310-9956-ffa450edef68
* win-tests.py
  (perl tests): Properly report success, instead of always exiting early.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1643076 13f79535-47bb-0310-9956-ffa450edef68
* win-tests.py
  (perl, python, ruby): Add a flush of stdout before invoking testrunners.

git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1643078 13f79535-47bb-0310-9956-ffa450edef68
* tools/buildbot/slaves/win32-SharpSvn/svntest-bindings.cmd
  Make swig-perl test errors report a failed build for 1.9+.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1643096 13f79535-47bb-0310-9956-ffa450edef68
* subversion/svnsync/svnsync.c
  (do_initialize, do_synchronize, do_copy_revprops):
    Clarify doc strings: the repo is not necessarily locked.

git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1643099 13f79535-47bb-0310-9956-ffa450edef68
Demonstrate the issue that r1555491 was supposed to solve.  Right now,
this new test will segfault for FSFS on many platforms.

* subversion/tests/libsvn_fs/fs-test.c
  (test_txn_pool_lifetime): New test.
  (test_funcs): Register new test.

git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1643138 13f79535-47bb-0310-9956-ffa450edef68
Fix the FSFS-specific txn root cleanup misbehavior demonstrated by r1643138.
Neither BDB nor FSX use txn-local caches.

The solution implemented here is simple: Both, FS->POOL and the pool owning
the txn, must be limit the lifetime for the TXN_DIR_CACHE to be valid.  If
one of them gets cleaned up, the cache needs to be removed as well.  So,
register one cleanup function per pool and, when one of the gets triggered,
unregister the respective other one.

* subversion/libsvn_fs_fs/caching.c
  (txn_cleanup_baton_t): Remember the pools that we registered cleanup on.
  (remove_txn_cache): Duplicate and rename to ...
  (remove_txn_cache_fs,
   remove_txn_cache_txn): ... these. Unregister the respective other cleanup.
  (init_txn_callbacks): Add FS parameter to have access to its pool.
  (svn_fs_fs__initialize_txn_caches): Update caller.

git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1643139 13f79535-47bb-0310-9956-ffa450edef68
* subversion/libsvn_fs_x/id.c
  (svn_fs_x__id_deserialize): Fix indentation. No functional change.

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