Properly detect whether the anchor of an update is shadowed to avoid applying
local changes to an unrelated node.

* subversion/libsvn_wc/update_editor.c
  (open_root): Use a read_info() call instead of directly reading base to
    detect shadowing of the anchor. Add TODO comment.

* subversion/tests/cmdline/update_tests.py
  (update_deleted): New test. Triggering a failure on updating before
    this patch.
  (test_list): Add test.

Found by: philip
          me
(Philip found the testcase where we used the wrong data)


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