diff core.lua @ 29:7d2742727869

Fix typo, update tooltip comment in help file.
author Farmbuyer of US-Kilrogg <farmbuyer@gmail.com>
date Mon, 10 Oct 2011 20:49:07 +0000
parents a7376e6de73c
children 47949f8eb783
line wrap: on
line diff
--- a/core.lua	Sun Oct 09 15:51:24 2011 +0000
+++ b/core.lua	Mon Oct 10 20:49:07 2011 +0000
@@ -185,6 +185,12 @@
 -- Try to extract numbers from the .toc "Version" and munge them into an
 -- integral form for comparison.  The result doesn't need to be meaningful as
 -- long as we can reliably feed two of them to "<" and get useful results.
+--
+-- This makes/reinforces an assumption that revision_large of release packages
+-- (e.g., 2016001) will always be higher than those of development packages
+-- (e.g., 87), due to the tagging system versus subversion file revs.  This
+-- is good, as local dev code will never trigger a false positive update
+-- warning for other users.
 do
 	local r = 0
 	for d in addon.revision:gmatch("%d+") do
@@ -1059,7 +1065,7 @@
 		self.dprint('comm', "ours is older, yammering")
 		if newer_warning then
 			self:Print(newer_warning,
-				self.format_hypertext('popupurl',"click here",ITEM_QUALITY_UNCOMMON)
+				self.format_hypertext('popupurl',"click here",ITEM_QUALITY_UNCOMMON),
 				self.format_hypertext('doping',"click here",ITEM_QUALITY_UNCOMMON))
 			newer_warning = nil
 		end