Refactor the beast that is libsvn_client/merge.c:do_directory_merge().
Refactor the beast that is libsvn_client/merge.c:do_directory_merge().

Suggested by: gstein

* subversion/libsvn_client/merge.c
  (record_mergeinfo_for_dir_merge): New.
  (record_mergeinfo_for_added_subtrees): New.
  (do_directory_merge): Remove code and call new helpers.


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

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