зеркало из https://github.com/mozilla/pjs.git
Bug 73180 - We now put a notice at the top of the versioncache file saying that it should not be edited.
Patch by Matthew Tuck <matty@chariot.net.au> r= gerv@mozilla.org, jake@acutex.net
This commit is contained in:
Родитель
93178e2c8f
Коммит
3905de3eb0
|
@ -528,6 +528,13 @@ sub GenerateVersionTable {
|
|||
my $tmpname = "data/versioncache.$$";
|
||||
open(FID, ">$tmpname") || die "Can't create $tmpname";
|
||||
|
||||
print FID "#\n";
|
||||
print FID "# DO NOT EDIT!\n";
|
||||
print FID "# This file is automatically generated at least once every\n";
|
||||
print FID "# hour by the GenerateVersionTable() sub in globals.pl.\n";
|
||||
print FID "# Any changes you make will be overwritten.\n";
|
||||
print FID "#\n";
|
||||
|
||||
print FID GenerateCode('@::log_columns');
|
||||
print FID GenerateCode('%::versions');
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче