Show More
@@ -260,13 +260,15 b' def reposetup(ui, repo):' | |||||
260 |
|
260 | |||
261 | if eolmtime > cachemtime: |
|
261 | if eolmtime > cachemtime: | |
262 | ui.debug("eol: detected change in .hgeol\n") |
|
262 | ui.debug("eol: detected change in .hgeol\n") | |
263 | # TODO: we could introduce a method for this in dirstate. |
|
|||
264 | wlock = None |
|
263 | wlock = None | |
265 | try: |
|
264 | try: | |
266 | wlock = self.wlock() |
|
265 | wlock = self.wlock() | |
267 |
for f |
|
266 | for f in self.dirstate: | |
268 |
self.dirstate |
|
267 | if self.dirstate[f] == 'n': | |
269 | self.dirstate._dirty = True |
|
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 | # Touch the cache to update mtime. |
|
272 | # Touch the cache to update mtime. | |
271 | self.opener("eol.cache", "w").close() |
|
273 | self.opener("eol.cache", "w").close() | |
272 | wlock.release() |
|
274 | wlock.release() |
General Comments 0
You need to be logged in to leave comments.
Login now