hgext/hgk.py
changeset 6750 fb42030d79d6
parent 6747 f6c00b17387c
child 6760 4faaa0535ea7
--- a/hgext/hgk.py	Thu Jun 26 14:35:50 2008 -0500
+++ b/hgext/hgk.py	Thu Jun 26 14:35:50 2008 -0500
@@ -175,7 +175,7 @@
 # you can specify a commit to stop at by starting the sha1 with ^
 def revtree(ui, args, repo, full="tree", maxnr=0, parents=False):
     def chlogwalk():
-        count = repo.changelog.count()
+        count = len(repo)
         i = count
         l = [0] * 100
         chunk = 100