Show More
@@ -170,7 +170,7 b' class eolfile(object):' | |||
|
170 | 170 | |
|
171 | 171 | def checkrev(self, repo, ctx, files): |
|
172 | 172 | failed = [] |
|
173 | for f in files: | |
|
173 | for f in (files or ctx.files()): | |
|
174 | 174 | if f not in ctx: |
|
175 | 175 | continue |
|
176 | 176 | for pattern, style in self.cfg.items('patterns'): |
@@ -207,10 +207,10 b' def _checkhook(ui, repo, node, headsonly' | |||
|
207 | 207 | files = set() |
|
208 | 208 | revs = set() |
|
209 | 209 | for rev in xrange(repo[node].rev(), len(repo)): |
|
210 | ctx = repo[rev] | |
|
211 | files.update(ctx.files()) | |
|
212 | 210 | revs.add(rev) |
|
213 | 211 | if headsonly: |
|
212 | ctx = repo[rev] | |
|
213 | files.update(ctx.files()) | |
|
214 | 214 | for pctx in ctx.parents(): |
|
215 | 215 | revs.discard(pctx.rev()) |
|
216 | 216 | failed = [] |
General Comments 0
You need to be logged in to leave comments.
Login now