Drastically reduce the amount of memory used by Subversion when committing over RA-DAV.
Drastically reduce the amount of memory used by Subversion when
committing over RA-DAV.

* subversion/libsvn_ra_dav/commit.c
  (dup_resource): New.
  (commit_open_dir, commit_add_dir, commit_open_file,
    commit_add_file): Use a subpool to do all the nasty work, and only
    persist what needs to be persisted in the passed-in pool.

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

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