mercurial/hgweb.py
changeset 195 b98bcf66dd9d
parent 183 767916673e16
child 197 b388603984fc
--- a/mercurial/hgweb.py	Mon May 30 08:28:02 2005 -0800
+++ b/mercurial/hgweb.py	Mon May 30 08:42:00 2005 -0800
@@ -40,7 +40,7 @@
 
     for t, s in scales:
         n = delta / s
-        if n >= 1: return fmt(t, n)
+        if n >= 2 or s == 1: return fmt(t, n)
 
 def nl2br(text):
     return text.replace('\n', '<br/>')