Show More
@@ -1075,16 +1075,17 b' class localrepository(object):' | |||
|
1075 | 1075 | delattr(self.dirstate, k) |
|
1076 | 1076 | except AttributeError: |
|
1077 | 1077 | pass |
|
1078 | delattr(self, 'dirstate') | |
|
1078 | delattr(self.unfiltered(), 'dirstate') | |
|
1079 | 1079 | |
|
1080 | 1080 | def invalidate(self): |
|
1081 | unfiltered = self.unfiltered() # all filecaches are stored on unfiltered | |
|
1081 | 1082 | for k in self._filecache: |
|
1082 | 1083 | # dirstate is invalidated separately in invalidatedirstate() |
|
1083 | 1084 | if k == 'dirstate': |
|
1084 | 1085 | continue |
|
1085 | 1086 | |
|
1086 | 1087 | try: |
|
1087 |
delattr( |
|
|
1088 | delattr(unfiltered, k) | |
|
1088 | 1089 | except AttributeError: |
|
1089 | 1090 | pass |
|
1090 | 1091 | self.invalidatecaches() |
@@ -1489,6 +1490,7 b' class localrepository(object):' | |||
|
1489 | 1490 | tr.release() |
|
1490 | 1491 | lock.release() |
|
1491 | 1492 | |
|
1493 | @unfilteredmeth | |
|
1492 | 1494 | def destroyed(self, newheadnodes=None): |
|
1493 | 1495 | '''Inform the repository that nodes have been destroyed. |
|
1494 | 1496 | Intended for use by strip and rollback, so there's a common |
General Comments 0
You need to be logged in to leave comments.
Login now