Make notifications during move-update transaction-safe, by only issuing
notifiations if the transaction actually succeeds.

We store notifications in a temporary wc.db table during the update-move
editor drive, and spool notifications from it when the edit completes.

* subversion/libsvn_wc/wc-queries.sql
  (STMT_CREATE_UPDATE_MOVE_LIST,
   STMT_INSERT_UPDATE_MOVE_LIST,
   STMT_FINALIZE_UPDATE_MOVE): New statements.

* subversion/libsvn_wc/wc_db_update_move.c
  (update_move_list_add, update_move_list_notify): New helper functions.
  (tc_editor_alter_directory, update_working_file): Add notifiations to
   the update-move notification list instead of sending them directly.
  (update_moved_away_conflict_victim): Create the move-update notification
   list before starting the editor drive.

* subversion/tests/libsvn_wc/wc-queries-test.c
  (schema_statements): Add STMT_CREATE_UPDATE_MOVE_LIST to this list
   of statements which create temporary tables.
  (slow_statements): Add STMT_SELECT_UPDATE_MOVE_LIST to the list of
   statements which fail if temporary tables don't exist.


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