diff mercurial/hgweb/common.py @ 7310:bd522d09d5e3

hgweb: move the diffs() generator into webutil
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Mon, 03 Nov 2008 20:41:48 +0100
parents 9c399c53469d
children a3d7f99c23c0
line wrap: on
line diff
--- a/mercurial/hgweb/common.py	Mon Nov 03 20:05:03 2008 +0100
+++ b/mercurial/hgweb/common.py	Mon Nov 03 20:41:48 2008 +0100
@@ -112,12 +112,6 @@
             parity = 1 - parity
             count = 0
 
-def countgen(start=0, step=1):
-    """count forever -- useful for line numbers"""
-    while True:
-        yield start
-        start += step
-
 def get_contact(config):
     """Return repo contact information or empty string.