Before writing a directory full of entries to the wc database, remove all existing WORKING and BASE nodes.  These nodes will be overwritten by any entries to be written, and this allows us to remove any additional orphan nodes (such as schedule-add -> schedule-delete).
Before writing a directory full of entries to the wc database, remove all
existing WORKING and BASE nodes.  These nodes will be overwritten by any
entries to be written, and this allows us to remove any additional orphan
nodes (such as schedule-add -> schedule-delete).

Current number of WC-NG test failures: 330

* subversion/libsvn_wc/entries.c
  (statement_keys, statements): New statements.
  (entries_write_body): Remove all WORKING and BASE nodes before adding
    the nodes for this directory.


git-svn-id: f8a4e5e023278da1e04e203c7fe051e3c4285d88@876094 13f79535-47bb-0310-9956-ffa450edef68

YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion