equal
deleted
inserted
replaced
1301 # XXX this is suboptimal when qrefresh'ing: we strip the current |
1301 # XXX this is suboptimal when qrefresh'ing: we strip the current |
1302 # head, refresh the tag cache, then immediately add a new head. |
1302 # head, refresh the tag cache, then immediately add a new head. |
1303 # But I think doing it this way is necessary for the "instant |
1303 # But I think doing it this way is necessary for the "instant |
1304 # tag cache retrieval" case to work. |
1304 # tag cache retrieval" case to work. |
1305 self.invalidatecaches() |
1305 self.invalidatecaches() |
|
1306 |
|
1307 # Discard all cache entries to force reloading everything. |
|
1308 self._filecache.clear() |
1306 |
1309 |
1307 def walk(self, match, node=None): |
1310 def walk(self, match, node=None): |
1308 ''' |
1311 ''' |
1309 walk recursively through the directory tree or a given |
1312 walk recursively through the directory tree or a given |
1310 changeset, finding all files matched by the match |
1313 changeset, finding all files matched by the match |