Roy Mammen <>


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

* 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_}>
Patch by: me