diff mercurial/repair.py @ 6747:f6c00b17387c

use repo[changeid] to get a changectx
author Matt Mackall <mpm@selenic.com>
date Thu, 26 Jun 2008 14:35:46 -0500
parents 3f5f23ba18bc
children fb42030d79d6
line wrap: on
line diff
--- 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