Changeset 171966 in webkit
- Timestamp:
- Aug 2, 2014 10:34:34 AM (10 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r171954 r171966 1 2014-08-02 Dan Bernstein <mitz@apple.com> 2 3 prepare-ChangeLog --no-write shouldn’t require ChangeLog to exist 4 https://bugs.webkit.org/show_bug.cgi?id=135542 5 6 Reviewed by Tim Horton. 7 8 * Scripts/prepare-ChangeLog: 9 (main): Pass $writeChangeLogs for the new requireChangeLogToExist parameter of 10 findChangeLogs. 11 (findChangeLogs): Don’t require a ChangeLog file to exist if unless the 12 requireChangeLogToExist argument is true. 13 1 14 2014-08-01 Dan Bernstein <mitz@apple.com> 2 15 -
trunk/Tools/Scripts/prepare-ChangeLog
r171954 r171966 76 76 sub extractLineRangeBeforeChange($); 77 77 sub fetchBugDescriptionFromURL($$); 78 sub findChangeLogs($ );78 sub findChangeLogs($$); 79 79 sub findOriginalFileFromSvn($); 80 80 sub generateFileList(\%$$$); … … 217 217 } 218 218 219 my ($filesInChangeLog, $prefixes) = findChangeLogs($functionLists );219 my ($filesInChangeLog, $prefixes) = findChangeLogs($functionLists, $writeChangeLogs); 220 220 221 221 # Get the latest ChangeLog files from svn. … … 437 437 } 438 438 439 sub findChangeLogs($ )440 { 441 my ($functionLists ) = @_;439 sub findChangeLogs($$) 440 { 441 my ($functionLists, $requireChangeLogToExist) = @_; 442 442 443 443 # Find the change logs. … … 456 456 last if $has_log; 457 457 } 458 if (!$has_log ) {458 if (!$has_log && $requireChangeLogToExist) { 459 459 print STDERR "No ChangeLog found for $file.\n"; 460 460 } else {
Note: See TracChangeset
for help on using the changeset viewer.