Roy Mammen <RoyMMammen@yahoo.com>


Found
r1361341

r1361341 | rhuijben | 2012-07-13 19:23:06 +0000 (Fri, 13 Jul 2012)

Avoid looking for a parent working copy when we can just ask the current
working copy if the current path is the root (via +- a hash table lookup).

This avoids problems in 1.7+ similar to those reported in 1.6 as
"/.svn/wc.db: Permission denied" that could be worked around via
SVN_I_LOVE_CORRUPTED_WORKING_COPIES_SO_DISABLE_CHECK_FOR_WC_NG

* subversion/libsvn_wc/lock.c
  (svn_wc__acquire_write_lock): Don't check for an anchor if we are already
    at the wcroot.

Found by: Roy Mammen <RoyMMammen{_AT_}yahoo.com>
Patch by: me