mercurial/repair.py
changeset 6747 f6c00b17387c
parent 6408 3f5f23ba18bc
child 6750 fb42030d79d6
--- a/mercurial/repair.py	Thu Jun 26 13:58:24 2008 -0500
+++ b/mercurial/repair.py	Thu Jun 26 14:35:46 2008 -0500
@@ -24,7 +24,7 @@
     files = {}
 
     for x in xrange(striprev, repo.changelog.count()):
-        for name in repo.changectx(x).files():
+        for name in repo[x].files():
             if name in files:
                 continue
             files[name] = 1