[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

svn diff Changed Behavior in SVN 1.9

From: Jonathan Bedard <jbedard_at_apple.com>
Date: Thu, 12 Jan 2017 18:00:46 -0800

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.
Received on 2017-01-13 08:04:13 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.