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

Julian Foad commented on SVN-4763:
----------------------------------

Two tests would make sense:
 1. test that "svn patch" can correctly parse and apply the present form of 
input where there is no dot
 2. test that the round-trip of "svn diff" followed by "svn patch" works

> can't "svn patch" working copy root if the patch is in --git format
> -------------------------------------------------------------------
>
>                 Key: SVN-4763
>                 URL: https://issues.apache.org/jira/browse/SVN-4763
>             Project: Subversion
>          Issue Type: Bug
>            Reporter: Julian Foad
>            Priority: Major
>
> Thread "[PATCH] can't "svn patch" working copy root if the patch is in --git 
> format" on dev@, 2018-07-09, by Dmitry Pavlenko, archived at 
> [lists.apache.org|https://lists.apache.org/thread.html/d1d9811ca36fac8cabb9339634840099e22811beac505be2ea59f19f@%3Cdev.subversion.apache.org%3E]
> Note that the patch looks like:
> {quote}Index: /tmp/wc
>  ===================================================================
>  diff --git a/ b/
>  — a/ (revision 0)
>  +++ b/ (working copy)
> Property changes on: 
>  [...]
> {quote}
> Main points:
>  * The provided patch makes "svn patch" accept that patch
>  * "svn diff" should also show a dot for the path: "Property changes on: ."
>  * Maybe "svn diff" should say "diff --git a/. b/." for consistency (other 
> directory paths printed there do not end with a slash) and clarity.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to