Show More
@@ -260,13 +260,15 b' def reposetup(ui, repo):' | |||
|
260 | 260 | |
|
261 | 261 | if eolmtime > cachemtime: |
|
262 | 262 | ui.debug("eol: detected change in .hgeol\n") |
|
263 | # TODO: we could introduce a method for this in dirstate. | |
|
264 | 263 | wlock = None |
|
265 | 264 | try: |
|
266 | 265 | wlock = self.wlock() |
|
267 |
for f |
|
|
268 |
self.dirstate |
|
|
269 | self.dirstate._dirty = True | |
|
266 | for f in self.dirstate: | |
|
267 | if self.dirstate[f] == 'n': | |
|
268 | # all normal files need to be looked at | |
|
269 | # again since the new .hgeol file might no | |
|
270 | # longer match a file it matched before | |
|
271 | self.dirstate.normallookup(f) | |
|
270 | 272 | # Touch the cache to update mtime. |
|
271 | 273 | self.opener("eol.cache", "w").close() |
|
272 | 274 | wlock.release() |
General Comments 0
You need to be logged in to leave comments.
Login now