]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 73180 - We now put a notice at the top of the versioncache file saying that it...
authorjake%acutex.net <>
Sat, 20 Oct 2001 06:49:37 +0000 (06:49 +0000)
committerjake%acutex.net <>
Sat, 20 Oct 2001 06:49:37 +0000 (06:49 +0000)
Patch by Matthew Tuck <matty@chariot.net.au>
r= gerv@mozilla.org, jake@acutex.net

globals.pl

index 1228d02c853ff1bfddb6f6c8404432aa3efcfb11..834c08d1ccf9c98469c9e1d89510f1b8b1ff8197 100644 (file)
@@ -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');