changeset 6747 | f6c00b17387c |
parent 6510 | 37ab2331b94c |
child 6750 | fb42030d79d6 |
--- a/hgext/win32text.py Thu Jun 26 13:58:24 2008 -0500 +++ b/hgext/win32text.py Thu Jun 26 14:35:46 2008 -0500 @@ -99,7 +99,7 @@ def forbidnewline(ui, repo, hooktype, node, newline, **kwargs): halt = False for rev in xrange(repo.changelog.rev(bin(node)), repo.changelog.count()): - c = repo.changectx(rev) + c = repo[rev] for f in c.files(): if f not in c: continue