Fix issue #4267 (better message when cleanup not run on lock root); but instead
of concocting a better error message, just always run cleanup on the lock root.

* subversion/libsvn_wc/wc_db.h (svn_wc__db_wclock_find_root): New.
* subversion/libsvn_wc/wc_db.c (find_wclock): Renamed from is_wclocked,
   and returns the path to the root of the locked subtree instead of a
   boolean flag.
  (is_wclocked): Reimplemented as a wrapper around find_wclock.
  (svn_wc__db_wclock_find_root): Find the root of a locked WC subtree.
* subversion/libsvn_wc/cleanup.c (cleanup_internal): If the cleanup target
   is locked, run cleanup from the root of the locked subtree.

* subversion/tests/cmdline/wc_tests.py (cleanup_below_wc_root): Remove XFail tag.


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