Fix svn_ra_replay over DAV when the send_deltas parameter is FALSE.
Fix svn_ra_replay over DAV when the send_deltas parameter is FALSE.

* subversion/libsvn_ra_dav/replay.c
  (maybe_close_file): New helper function.
  (start_element): Call maybe_close_file in the add/open file and add/open
   directory cases, to potentially clean up the last opened file.
  (end_element): Call maybe_close_file in the editor_report case to close
   the last file, and stop closing files in apply_textdelta's case since it
   is not going to be hit in the send_deltas == FALSE case.
   


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

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