##// END OF EJS Templates
eol: no need to accumulate files when checking all changesets...
Patrick Mezard -
r13650:56e71e7d default
parent child Browse files
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 revs.add(rev)
211 if headsonly:
210 212 ctx = repo[rev]
211 213 files.update(ctx.files())
212 revs.add(rev)
213 if headsonly:
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