On 13.01.2017 03:00, Jonathan Bedard wrote:
> In SVN 1.9, moving a file with svn move generates an unexpected patch file when running svn diff. https://bugs.webkit.org/show_bug.cgi?id=166914 has the work-around which WebKit used to fix this issue in our svn support scripts. Bellow is an example of svn 1.9.4 behavior contrasted with 1.7.19.
>
> 1.9.4:
>
> Index: a.txt
> ===================================================================
> --- a.txt (revision 210689)
> +++ a.txt (working copy)
> @@ -1,2 +0,0 @@
> -Line 1
> -Line 2
> Index: b.txt
> ===================================================================
>
>
> 1.7.19:
>
> Index: a.txt
> ===================================================================
> --- a.txt (revision 210689)
> +++ a.txt (working copy)
> -Line 1
> -Line 2
>
> Newer versions of svn emit a file index without a body. This seems to violate the intention of an index.
You probably want 'svn diff --no-diff-added'.
-- Brane
Received on 2017-01-13 09:25:34 CET