Show More
@@ -1000,6 +1000,9 b' class localrepository(object):' | |||
|
1000 | 1000 | self.sjoin('phaseroots')) |
|
1001 | 1001 | self.invalidate() |
|
1002 | 1002 | |
|
1003 | # Discard all cache entries to force reloading everything. | |
|
1004 | self._filecache.clear() | |
|
1005 | ||
|
1003 | 1006 | parentgone = (parents[0] not in self.changelog.nodemap or |
|
1004 | 1007 | parents[1] not in self.changelog.nodemap) |
|
1005 | 1008 | if parentgone: |
@@ -1067,9 +1070,6 b' class localrepository(object):' | |||
|
1067 | 1070 | pass |
|
1068 | 1071 | self.invalidatecaches() |
|
1069 | 1072 | |
|
1070 | # Discard all cache entries to force reloading everything. | |
|
1071 | self._filecache.clear() | |
|
1072 | ||
|
1073 | 1073 | def _lock(self, lockname, wait, releasefn, acquirefn, desc): |
|
1074 | 1074 | try: |
|
1075 | 1075 | l = lock.lock(lockname, 0, releasefn, desc=desc) |
@@ -1503,6 +1503,9 b' class localrepository(object):' | |||
|
1503 | 1503 | # tag cache retrieval" case to work. |
|
1504 | 1504 | self.invalidatecaches() |
|
1505 | 1505 | |
|
1506 | # Discard all cache entries to force reloading everything. | |
|
1507 | self._filecache.clear() | |
|
1508 | ||
|
1506 | 1509 | def walk(self, match, node=None): |
|
1507 | 1510 | ''' |
|
1508 | 1511 | walk recursively through the directory tree or a given |
General Comments 0
You need to be logged in to leave comments.
Login now