Bug 16052: prepare-ChangeLog doesn't report deleted files
authorddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 26 Nov 2007 07:06:30 +0000 (07:06 +0000)
committerddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 26 Nov 2007 07:06:30 +0000 (07:06 +0000)
        <http://bugs.webkit.org/show_bug.cgi?id=16052>

        Reviewed by Sam.

        * Scripts/prepare-ChangeLog: Fixed logic that checks for removed files.

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

WebKitTools/ChangeLog
WebKitTools/Scripts/prepare-ChangeLog

index 42b0d0db85a25cb660a6de9d68fac7f78944373a..7b432d5ab9d1f51223b3b53beaedbc57fb796be5 100644 (file)
@@ -1,3 +1,12 @@
+2007-11-25  David D. Kilzer  <ddkilzer@webkit.org>
+
+        Bug 16052: prepare-ChangeLog doesn't report deleted files
+        <http://bugs.webkit.org/show_bug.cgi?id=16052>
+
+        Reviewed by Sam.
+
+        * Scripts/prepare-ChangeLog: Fixed logic that checks for removed files.
+
 2007-11-25  David Kilzer  <ddkilzer@webkit.org>
 
         Bug 15864: Replace merge-changelog with resolve-ChangeLogs
index 2b3bd7e9e80d0684fb810b4f4ef4b8da463f8221..4807efd4acbd3e0df6668b64e90e5bc389e8e2dc 100755 (executable)
@@ -137,7 +137,7 @@ my $didChangeRegressionTests = 0;
 
 generateFileList(@changed_files, @conflict_files, %function_lists);
 
-if (!@changed_files && !@conflict_files || !%function_lists) {
+if (!@changed_files && !@conflict_files && !keys %function_lists) {
     print STDERR "  No changes found.\n";
     exit 1;
 }