diff -r 1dca460e7d1e -r f6c00b17387c hgext/win32text.py --- 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