contrib/dumprevlog
changeset 6750 fb42030d79d6
parent 6466 9c426da6b03b
child 7361 9fe97eea5510
--- a/contrib/dumprevlog	Thu Jun 26 14:35:50 2008 -0500
+++ b/contrib/dumprevlog	Thu Jun 26 14:35:50 2008 -0500
@@ -12,7 +12,7 @@
     binopen = lambda fn: open(fn, 'rb')
     r = revlog.revlog(binopen, f)
     print "file:", f
-    for i in xrange(r.count()):
+    for i in r:
         n = r.node(i)
         p = r.parents(n)
         d = r.revision(n)