--- a/mercurial/graphmod.py Mon Dec 21 12:18:43 2009 +0200
+++ b/mercurial/graphmod.py Mon Dec 14 00:32:29 2009 +0900
@@ -17,7 +17,6 @@
Data depends on type.
"""
-import sys
from mercurial.node import nullrev
CHANGESET = 'C'
@@ -37,7 +36,7 @@
yield (cur, CHANGESET, ctx, sorted(parents))
cur -= 1
-def filerevs(repo, path, start, stop, limit=sys.maxint):
+def filerevs(repo, path, start, stop, limit=None):
"""file cset DAG generator yielding (id, CHANGESET, ctx, [parentids]) tuples
This generator function walks through the revision history of a single