Show More
@@ -231,6 +231,16 b' class dirstate(object):' | |||
|
231 | 231 | except IOError, err: |
|
232 | 232 | if err.errno != errno.ENOENT: raise |
|
233 | 233 | |
|
234 | def reload(self): | |
|
235 | def mtime(): | |
|
236 | m = self.map and self.map.get('.hgignore') | |
|
237 | return m and m[-1] | |
|
238 | ||
|
239 | old_mtime = self.ignorefunc and mtime() | |
|
240 | self.read() | |
|
241 | if old_mtime != mtime(): | |
|
242 | self.ignorefunc = None | |
|
243 | ||
|
234 | 244 | def copy(self, source, dest): |
|
235 | 245 | self.lazyread() |
|
236 | 246 | self.markdirty() |
General Comments 0
You need to be logged in to leave comments.
Login now