diff options
author | jake%acutex.net <> | 2001-10-20 08:49:37 +0200 |
---|---|---|
committer | jake%acutex.net <> | 2001-10-20 08:49:37 +0200 |
commit | 94a744b16e01bf0d4a168e3d5eebeeb1c43a5fc6 (patch) | |
tree | f7e1eaf0d0445110caa4767ad5ae67dc26e6663b | |
parent | ed4af4249961a69449820e27b0baaf5116142b9e (diff) | |
download | bugzilla-94a744b16e01bf0d4a168e3d5eebeeb1c43a5fc6.tar.gz bugzilla-94a744b16e01bf0d4a168e3d5eebeeb1c43a5fc6.tar.xz |
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
-rw-r--r-- | globals.pl | 7 |
1 files changed, 7 insertions, 0 deletions
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'); |