Factor out common code.
Factor out common code.

* subversion/libsvn_client/merge.c
  (get_log): New. Wrapper around svn_ra_get_log2().
  (remove_noop_merge_ranges, get_operative_immediate_children,
   remove_noop_subtree_ranges, find_unsynced_ranges): Use get_log().

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

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