Allow clients to configure the working copy SQLite busy
timeout, this can be useful when exclusive locking is
enabled.

* subversion/include/private/svn_sqlite.h
  (svn_sqlite__open): Add timeout parameter.

* subversion/include/svn_config.h
  (SVN_CONFIG_OPTION_SQLITE_TIMEOUT): New.

* subversion/libsvn_subr/config_file.c
  (svn_config_ensure): Describe new config option.

* subversion/libsvn_subr/sqlite.c
  (internal_open, svn_sqlite__open): Add timeout parameter.
  (svn_sqlite__hotcopy): Pass default timeout.

* subversion/libsvn_wc/wc_db_private.h
  (struct svn_wc__db_t): Add timeout member.
  (svn_wc__db_util_open_db): Add timeout parameter.

* subversion/libsvn_wc/wc_db_util.c
  (svn_wc__db_util_open_db): Add timeout parameter.

* subversion/libsvn_wc/wc_db_wcroot.c
  (svn_wc__db_open): Get timeout from config.
  (svn_wc__db_wcroot_parse_local_abspath): Pass timeout.

* subversion/libsvn_wc/wc_db.c
  (create_db): Add timeout parameter.
  (svn_wc__db_init, svn_wc__db_upgrade_begin,
   svn_wc__db_bump_format): Pass default timeout.

* subversion/libsvn_fs_fs/rep-cache.c
* subversion/libsvn_fs_x/rep-cache.c
  (open_rep_cache): Pass default timeout.

* subversion/tests/libsvn_subr/sqlite-test.c
  (open_db): Pass default timeout.

* subversion/tests/libsvn_wc/op-depth-test.c
  (open_wc_db): Pass default timeout.

* subversion/tests/libsvn_wc/utils.c
  (svn_test__create_fake_wc): Pass default timeout.


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