Show More
@@ -838,9 +838,6 b' class localrepository(repo.repository):' | |||||
838 | self.sjoin('phaseroots')) |
|
838 | self.sjoin('phaseroots')) | |
839 | self.invalidate() |
|
839 | self.invalidate() | |
840 |
|
840 | |||
841 | # Discard all cache entries to force reloading everything. |
|
|||
842 | self._filecache.clear() |
|
|||
843 |
|
||||
844 | parentgone = (parents[0] not in self.changelog.nodemap or |
|
841 | parentgone = (parents[0] not in self.changelog.nodemap or | |
845 | parents[1] not in self.changelog.nodemap) |
|
842 | parents[1] not in self.changelog.nodemap) | |
846 | if parentgone: |
|
843 | if parentgone: | |
@@ -905,6 +902,9 b' class localrepository(repo.repository):' | |||||
905 | pass |
|
902 | pass | |
906 | self.invalidatecaches() |
|
903 | self.invalidatecaches() | |
907 |
|
904 | |||
|
905 | # Discard all cache entries to force reloading everything. | |||
|
906 | self._filecache.clear() | |||
|
907 | ||||
908 | def _lock(self, lockname, wait, releasefn, acquirefn, desc): |
|
908 | def _lock(self, lockname, wait, releasefn, acquirefn, desc): | |
909 | try: |
|
909 | try: | |
910 | l = lock.lock(lockname, 0, releasefn, desc=desc) |
|
910 | l = lock.lock(lockname, 0, releasefn, desc=desc) |
General Comments 0
You need to be logged in to leave comments.
Login now