Deprecate svn_wc_read_kind() to add an additional argument, which makes this
function directly usable to answer the questions 'is there an in-wc node here?'
and 'can I add a new node here?' for libsvn_client.

Currently almost every caller of this function in libsvn_client needs to call
another node function before it can do its actual work, because it misses
essential information.

* subversion/include/svn_wc.h
  (svn_wc_read_kind2): New function.
  (svn_wc_read_kind): Deprecate function.

* subversion/libsvn_wc/adm_crawler.c
  (svn_wc__internal_transmit_prop_deltas): Update caller. Provide proper error
    when used on invalid nodes.

* subversion/libsvn_wc/conflicts.c
  (generate_propconflict): Update caller. Provide proper error
    when used on invalid nodes.

* subversion/libsvn_wc/deprecated.c
  (svn_wc_add3): Update caller.
  (svn_wc_read_kind): New function.

* subversion/libsvn_wc/diff_local.c
  (svn_wc_diff6): Update caller.

* subversion/libsvn_wc/lock.c
  (svn_wc_adm_retrieve,
   svn_wc_adm_probe_retrieve): Update caller.

* subversion/libsvn_wc/node.c
  (svn_wc_read_kind): Rename to ...
  (svn_wc_read_kind2): ... this. Add argument and change return type.

* subversion/libsvn_wc/revert.c
  (revert_partial): Update caller.

* subversion/libsvn_wc/util.c
  (svn_wc__fetch_kind_func): Update caller.

* subversion/libsvn_wc/wc_db.c
  (svn_wc__db_read_kind): Handle show_deleted.

* subversion/libsvn_wc/wc_db.h
  (svn_wc__db_read_kind): Add show_deleted argument and update
    documentation.


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