Reviewed by Darin.
authoraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 20 Apr 2007 22:33:36 +0000 (22:33 +0000)
committeraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 20 Apr 2007 22:33:36 +0000 (22:33 +0000)
        http://bugs.webkit.org/show_bug.cgi?id=13421
        Bug 13421: prepare-ChangeLog should use svn-create-patch when spewing diffs

        * Scripts/prepare-ChangeLog: Use svn-create-patch instead of svn diff.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@20976 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKitTools/ChangeLog
WebKitTools/Scripts/prepare-ChangeLog

index 8b493324e5ccf86c6fc43435265dec9a01477ec6..f95c0a3686cf6454b1df3077a93f96fa1ddd57c5 100644 (file)
@@ -1,3 +1,12 @@
+2007-04-20  Adam Roben  <aroben@apple.com>
+
+        Reviewed by Darin.
+
+        http://bugs.webkit.org/show_bug.cgi?id=13421
+        Bug 13421: prepare-ChangeLog should use svn-create-patch when spewing diffs
+
+        * Scripts/prepare-ChangeLog: Use svn-create-patch instead of svn diff.
+
 2007-04-18  Brady Eidson  <beidson@apple.com>
 
         Reviewed by Tim
index c6ed3f832dd40abc67b846a5f37a3d970ba89b39..7d71afa0af87f51a7d1b76867bb2fda45244c06d 100755 (executable)
@@ -56,6 +56,7 @@ use warnings;
 use File::Basename;
 use File::Spec;
 use File::Temp;
+use FindBin;
 use Getopt::Long;
 
 sub canonicalizePath($);
@@ -329,7 +330,7 @@ foreach my $prefix (sort keys %files)
 if ($spewDiff && @changed_files)
   {
     print STDERR "  Running 'svn diff' to help you write the ChangeLog entries.\n";
-    open DIFF, "$SVN diff $changed_files_string |" or die "The svn diff failed: $!.\n";
+    open DIFF, "'$FindBin::Bin/svn-create-patch' $changed_files_string |" or die "The svn diff failed: $!.\n";
     while (<DIFF>) { print; }
     close DIFF;
   }