From 94a744b16e01bf0d4a168e3d5eebeeb1c43a5fc6 Mon Sep 17 00:00:00 2001 From: "jake%acutex.net" <> Date: Sat, 20 Oct 2001 06:49:37 +0000 Subject: 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 r= gerv@mozilla.org, jake@acutex.net --- globals.pl | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'globals.pl') diff --git a/globals.pl b/globals.pl index 1228d02c8..834c08d1c 100644 --- a/globals.pl +++ b/globals.pl @@ -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'); -- cgit v1.2.3-24-g4f1b