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 git-svn-id: svn://10.0.0.236/trunk@105856 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
91e5381554
commit
692e3604f8
@ -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');
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user