Remove some remains of pre Subversion 1.7 working copy test scenarios.

* subversion/tests/cmdline/svntest/deeptrees.py
  (deep_trees_after_leaf_del_no_ci,
   deep_trees_after_tree_del_no_ci): Assume that we use a single wc.db per
     working copy.
     
  (deep_trees_empty_dirs): Remove now unused variable.
   
* subversion/tests/cmdline/upgrade_tests.py
  (check_format): Assume single db.

git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1549805 13f79535-47bb-0310-9956-ffa450edef68
* subversion/tests/cmdline/switch_tests.py
  (tree_conflicts_on_switch_1_1,
   tree_conflicts_on_switch_1_2,
   tree_conflicts_on_switch_2_2,
   tree_conflicts_on_switch_3):
      Instead of copying a list and explicitly removing half the items inside
      expect the final result.
      
* subversion/tests/cmdline/update_tests.py
  (tree_conflicts_on_update_1_1,
   tree_conflicts_on_update_1_2,
   tree_conflicts_on_update_2_2,
   tree_conflicts_on_update_3):
      Instead of copying a list and explicitly removing half the items inside
      expect the final result.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1549809 13f79535-47bb-0310-9956-ffa450edef68
Move a few test helper functions to a library to avoid having to import
tests from other tests.

* cmdline/relocate_tests.py
  Import from deeptrees instead of switch_tests.
  
* cmdline/svntest/deeptrees.py
  (get_routine_status_state,
   get_routine_disk_state,
   do_routine_switching,
   commit_routine_switching): Move functions here...

* cmdline/switch_tests.py
  (get_routine_status_state,
   get_routine_disk_state,
   do_routine_switching,
   commit_routine_switching): that used to be here here.
   
  Update imports.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1549823 13f79535-47bb-0310-9956-ffa450edef68
Extend the new in 1.9 svn_wc_cleanup4() api with notification support.
This will allow future patches to add some information on where the time
is spent during the cleanup (that used to be +- instant in 1.6).

* subversion/include/svn_wc.h
  (svn_wc_cleanup4): Update prototype.

* subversion/libsvn_client/cleanup.c
  (do_cleanup): Update caller.

* subversion/libsvn_wc/cleanup.c
  (svn_wc_cleanup4): Update prototype.

* subversion/libsvn_wc/deprecated.c
  (svn_wc_cleanup3): Update caller.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1549825 13f79535-47bb-0310-9956-ffa450edef68
Make svn_client_proplist4() report iprops as documented: with the target,
instead of reporting the same target twice.

This makes it much easier for api users to process inherited properties that
can be changed on the node itself without copying everything and waiting until
the property walk completed before being able to do something.

* subversion/libsvn_client/prop_commands.c
  (recursive_proplist_receiver_baton): Add variable.
  (recursive_proplist_receiver): Report iprops with or before first target.
  (get_local_props): Store iprops in baton before walking and only report iprops
    if the recursive walk didn't do that.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1549858 13f79535-47bb-0310-9956-ffa450edef68
* subversion/libsvn_client/prop_commands.c
  (recursive_proplist_receiver): Resolve warning by removing const from
    variable that should have been defined as const.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1549874 13f79535-47bb-0310-9956-ffa450edef68
Make sure that the temporary transaction properties associated with
commit flags do not disappear when svn_fs_commit_txn is interrupted.
As a side effect this also reduces by one the number of times the
proto-revprop file is written in a typical commit.

* subversion/libsvn_fs_fs/structure: Describe new file.

* subversion/libsvn_fs_fs/fs.h
  (PATH_TXN_PROPS_FINAL): New.

* subversion/libsvn_fs_fs/transaction.c
  (path_txn_props_final): New.
  (set_txn_proplist): Add boolean final flag.
  (svn_fs_fs__change_txn_props): Pass new flag.
  (write_final_revprop): New.
  (commit_body): Call write_final_revprop.
  (svn_fs_fs__begin_txn): Pass new flag.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1549907 13f79535-47bb-0310-9956-ffa450edef68
When creating L2P and P2L index files allow for a previous failed
commit that created obstructing, read-only, files.

* subversion/libsvn_fs_fs/index.c:
  (index_create): New.
  (svn_fs_fs__l2p_index_create,
   svn_fs_fs__p2l_index_create): Call index_create.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1549924 13f79535-47bb-0310-9956-ffa450edef68
Remove unused variable found by warning bot.

* subversion/libsvn-fs_fs/index.c
  (index_create): Remove unused i variable.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1549926 13f79535-47bb-0310-9956-ffa450edef68
Followup to r1549924, fix lifetime bug that could lead to undefined
behaviour.  This is probably the cause of the Windows buildbot fails.

* subversion/libsvn_fs_fs/transaction.c
  (write_final_revprop): Increase scope/lifetime of stack variable.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1549947 13f79535-47bb-0310-9956-ffa450edef68
* subversion/bindings/swig/ruby/test/windows_util.rb
  (setup_svnserve): Give svnserve.exe a bit of time to start.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1550014 13f79535-47bb-0310-9956-ffa450edef68
FSX implementation of FSFS r1549907.

Make sure that the temporary transaction properties associated with
commit flags do not disappear when svn_fs_commit_txn is interrupted.
As a side effect this also reduces by one the number of times the
proto-revprop file is written in a typical commit.

* subversion/libsvn_fs_fs/structure: Describe new file.

* subversion/libsvn_fs_fs/fs.h
  (PATH_TXN_PROPS_FINAL): New.

* subversion/libsvn_fs_fs/transaction.c
  (svn_fs_x__change_txn_props): Rename to ...
  (change_txn_props): ... this, add boolean parameter.
  (svn_fs_x__change_txn_props): New wrapper.
  (write_final_revprop): New.
  (commit_body): Call write_final_revprop.

* subversion/libsvn_fs_fs/util.h
  (svn_fs_x__path_txn_props_final): New.

* subversion/libsvn_fs_fs/util.c
  (svn_fs_x__path_txn_props_final): New.
  (set_txn_proplist): Add boolean final flag.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1550164 13f79535-47bb-0310-9956-ffa450edef68
* subversion/tests/cmdline/svnadmin_tests.py
  (recover_old): Skip for FSX as old format repositories cannot be created.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1550171 13f79535-47bb-0310-9956-ffa450edef68
When running 'svn status' report externals in a deterministic way instead
of relying on the apr_hash_t ordering. Filter status in externals on the
provided changelists.

* subversion/libsvn_client/status.c
  (includes): Add svn_sorts.h.
  (do_external_status): Add changelists argument. Sort items before
    iterating over them. Pass changelist.
  (svn_client_status5): Update caller. Remove stale comment.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1550200 13f79535-47bb-0310-9956-ffa450edef68
Add support for walking externals to the api behind 'svn info', like how this
is implemented for 'svn status'.

* subversion/include/svn_client.h
  (svn_client_info4): New function.
  (svn_client_info3): Deprecate function.

* subversion/include/svn_wc.h
  (svn_wc_notify_action_t): Add svn_wc_notify_info_external value.

* subversion/libsvn_client/deprecated.c
  (svn_client_info3): New function.

* subversion/libsvn_client/info.c
  (includes): Put in understandable order. Add svn_sorts.h.
  (do_external_info): New function.
  (svn_client_info3): Rename to ...
  (svn_client_info4): ... this. Add argument. Handle externals for local info.

* subversion/svn/info-cmd.c
  (svn_cl__info): Update caller.

* subversion/svn/notify.c
  (notify): Add notification for svn_wc_notify_info_external.

* subversion/svn/svn.c
  ("info"): Support opt_include_externals.

Suggested by: schabi


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1550206 13f79535-47bb-0310-9956-ffa450edef68
* subversion/include/svn_client.h
  (svn_client_info4): Following up on r1550206 fix @since.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1550211 13f79535-47bb-0310-9956-ffa450edef68
In preparation for committing over RA with a specified svn:date,
change the FS implementation from a flag in svn_fs_commit_txn2 to
a flag passed to svn_fs_begin_txn2.

* subversion/include/svn_fs.h
  (SVN_FS_TXN_CLIENT_DATE): New.
  (svn_fs_commit_txn2): Remove.
  (svn_fs_commit_txn): Remove deprecation.

* subversion/libsvn_fs/fs-loader.h
  (struct txn_vtable_t): Remove set_timestamp parameter from commit.
  (SVN_FS__PROP_TXN_CLIENT_DATE): New.

* subversion/libsvn_fs/fs-loader.c
  (svn_fs_commit_txn2): Remove.
  (svn_fs_change_txn_prop, svn_fs_change_txn_props): Drop changes to the
   internal property.

* subversion/libsvn_fs/editor.c
  (svn_fs__editor_commit): Use svn_fs_commit_txn.

* subversion/libsvn_fs_fs/transaction.h
  (svn_fs_fs__commit): Remove set_timestamp parameter.

* subversion/libsvn_fs_fs/transaction.c
  (svn_fs_fs__change_txn_props): Record svn:date change.
  (write_final_revprop): Remove set_timestamp parameter.
  (struct commit_baton): Remove set_timestamp member.
  (commit_body): Update call.
  (svn_fs_fs__commit): Remove set_timestamp parameter.
  (svn_fs_fs__begin_txn): Set new temporary property.

* subversion/libsvn_fs_fs/tree.h
  (svn_fs_fs__commit_txn): Remove set_timestamp parameter.

* subversion/libsvn_fs_fs/tree.c
  (svn_fs_fs__commit_txn): Remove set_timestamp parameter.

* subversion/libsvn_fs_base/dag.h
  (svn_fs_base__dag_commit_txn): Remove set_timestamp parameter.

* subversion/libsvn_fs_base/dag.c
  (svn_fs_base__dag_commit_txn): Remove set_timestamp parameter.

* subversion/libsvn_fs_base/revs-txns.c
  (svn_fs_base__set_txn_prop): Record svn:date change.
  (txn_body_begin_txn): Set new temporary property.

* subversion/libsvn_fs_base/tree.h
  (svn_fs_base__commit_txn): Remove set_timestamp parameter.

* subversion/libsvn_fs_base/tree.c
  (struct commit_args): Remove set_timestamp member.
  (txn_body_commit): Update call.
  (svn_fs_base__commit_txn): Remove set_timestamp parameter.

* subversion/libsvn_fs_x/transaction.h
  (svn_fs_x__commit): Remove set_timestamp parameter.

* subversion/libsvn_fs_x/transaction.c
  (change_txn_props): Record svn:date change.
  (write_final_revprop): Remove set_timestamp parameter.
  (struct commit_baton): Remove set_timestamp member.
  (commit_body): Update call.
  (svn_fs_x__commit): Remove set_timestamp parameter.
  (svn_fs_x__begin_txn): Set new temporary property.

* subversion/libsvn_fs_x/tree.h
  (svn_fs_x__commit_txn): Remove set_timestamp parameter.

* subversion/libsvn_fs_x/tree.c
  (svn_fs_x__commit_txn): Remove set_timestamp parameter.

* subversion/libsvn_repos/fs-wrap.c
  (svn_repos_fs_commit_txn): Use svn_fs_commit_txn.

* subversion/libsvn_repos/load-fs-vtable.c
  (new_revision_record): Set SVN_FS_TXN_CLIENT_DATE.
  (close_revision): Use svn_fs_commit_txn.

* subversion/tests/libsvn_fs/fs-test.c
  (commit_timestamp): Set SVN_FS_TXN_CLIENT_DATE, use svn_fs_commit_txn,
   test setting internal property.

* subversion/tests/libsvn_fs_fs/fs-fs-pack-test.c
  (upgrade_txns_to_log_addressing): Use svn_fs_commit_txn.

* subversion/tests/libsvn_repos/repos-test.c
  (test_config_pool): Use svn_fs_commit_txn.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1550228 13f79535-47bb-0310-9956-ffa450edef68
* subversion/svnadmin/svnadmin.c
  (subcommand_info): Show repository UUID in 'svnadmin info' output.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1550667 13f79535-47bb-0310-9956-ffa450edef68
* subversion/libsvn_fs_x/transaction.c
  (commit_body): Following up on r1550164, remove 3 now unused variables.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1550672 13f79535-47bb-0310-9956-ffa450edef68
* subversion/libsvn_subr/config_auth.c
  (svn_config_read_auth_data): Verify if the realm really matches before
    handing back the credentials.


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