* subversion/libsvn_client/patch.c   (scan_for_match): In case a patch contains hunks which match late,     we might have already read past the line a hunk wants to go.     So always asserting target->current_line == hunk_line is wrong.     Instead, simply try to match with an upper bound of hunk_line + 1,     so that we will simply skip the match attempt if we're already     past that line. We can then try to find a late match.
* subversion/libsvn_client/patch.c
  (scan_for_match): In case a patch contains hunks which match late,
    we might have already read past the line a hunk wants to go.
    So always asserting target->current_line == hunk_line is wrong.
    Instead, simply try to match with an upper bound of hunk_line + 1,
    so that we will simply skip the match attempt if we're already
    past that line. We can then try to find a late match.


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

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