subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Bedard <jbed...@apple.com>
Subject svn diff Changed Behavior in SVN 1.9
Date Fri, 13 Jan 2017 02:00:46 GMT
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.

Mime
View raw message