Fix #1676 (directory can be erroneously completed) and a related bug.
Fix #1676 (directory can be erroneously completed) and a related bug.

* libsvn_wc/update_editor.c
  (complete_directory): The anchor-not-target case appears to have
   been coded as if we were updating the anchor, but it only contained
   the target, neither of which is true.  We cannot mark the anchor
   directory complete, and we have no cause to remove deleted or
   missing entries.
  (close_edit): If the target of the update is still missing after the
   update, it doesn't matter whether the root was opened or not; we
   still need to change it to a deleted entry.

jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion