Show More
@@ -241,14 +241,10 b' class dirstate(object):' | |||||
241 | if err.errno != errno.ENOENT: raise |
|
241 | if err.errno != errno.ENOENT: raise | |
242 |
|
242 | |||
243 | def reload(self): |
|
243 | def reload(self): | |
244 | def mtime(): |
|
244 | for a in "map copymap _branch pl dirs".split(): | |
245 | m = self.map and self.map.get('.hgignore') |
|
245 | if hasattr(self, a): | |
246 | return m and m[-1] |
|
246 | self.__delattr__(a) | |
247 |
|
247 | self.ignorefunc = None | ||
248 | old_mtime = self.ignorefunc and mtime() |
|
|||
249 | self.read() |
|
|||
250 | if old_mtime != mtime(): |
|
|||
251 | self.ignorefunc = None |
|
|||
252 |
|
248 | |||
253 | def copy(self, source, dest): |
|
249 | def copy(self, source, dest): | |
254 | self.markdirty() |
|
250 | self.markdirty() |
General Comments 0
You need to be logged in to leave comments.
Login now