[ 
https://issues.apache.org/jira/browse/SVN-4609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15057848#comment-15057848
 ] 

Philip Martin commented on SVN-4609:
------------------------------------

XFAIL regression test added r1720114.

> patch hunk with missing trailing context results in extra delete
> ----------------------------------------------------------------
>
>                 Key: SVN-4609
>                 URL: https://issues.apache.org/jira/browse/SVN-4609
>             Project: Subversion
>          Issue Type: Bug
>    Affects Versions: all
>            Reporter: Philip Martin
>
> Consider a file with 5 lines:
> a
> b
> c
> d
> e
> and a patch hunk that modifies the third line:
> @@ -1,5 +1,5 @@
>  a
>  b
> -c
> +cc
>  d
>  e
> Remove the final line of context, the 'e' line, and then apply the patch. GNU 
> diff will apply with fuzz 1 and modify only the 'c' line while svn patch will 
> modify the 'c' line and delete the 'e' line.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to