Add an compile-time option to the svn_editor_t callbacks which ensures they are driven in accordance with the API requirements.
Add an compile-time option to the svn_editor_t callbacks which ensures they
are driven in accordance with the API requirements.

Implement the first set of verification of these requirements, namely that
all incomplete children specified when adding a directory must be later added
by a subsequent callback.

* subversion/libsvn_delta/editor.c
  (ENABLE_ORDERING_CHECK): New.
  (svn_editor_t): Add a couple new members, conditioned on the above macro.
  (svn_editor_create): Initialize the new members.
  (svn_editor_add_directory, svn_editor_add_file, svn_editor_add_symlink,
   svn_editor_add_absent): Populate and prune the pending children hash.
  (svn_editor_complete): Make sure all children have been handled.


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

YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion