Fix issue #2994, avoiding revision filtering when merging into a WC using a different repository as the merge source.
Fix issue #2994, avoiding revision filtering when merging into a WC
using a different repository as the merge source.

* subversion/libsvn_client/merge.c
  (calculate_remaining_ranges): Add a new SAME_REPOS parameter, and
   use it to conditionalize calls to filter_reflected_revisions() and
   filter_merged_revisions().  When the WC doesn't correspond to the
   repository used as the merge source, merge all requested revisions.
  (populate_remaining_ranges, do_single_file_merge): Update calls to
   calculate_remaining_ranges() for its new parameter.

Found by: Matthias Bendewald


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

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