Show More
@@ -1083,6 +1083,7 b' class localrepository(object):' | |||
|
1083 | 1083 | validator=validate, |
|
1084 | 1084 | releasefn=releasefn) |
|
1085 | 1085 | tr.changes['revs'] = set() |
|
1086 | tr.changes['obsmarkers'] = set() | |
|
1086 | 1087 | |
|
1087 | 1088 | tr.hookargs['txnid'] = txnid |
|
1088 | 1089 | # note: writing the fncache only during finalize mean that the file is |
@@ -613,6 +613,9 b' class obsstore(object):' | |||
|
613 | 613 | # XXX: f.close() == filecache invalidation == obsstore rebuilt. |
|
614 | 614 | # call 'filecacheentry.refresh()' here |
|
615 | 615 | f.close() |
|
616 | addedmarkers = transaction.changes.get('obsmarkers') | |
|
617 | if addedmarkers is not None: | |
|
618 | addedmarkers.update(new) | |
|
616 | 619 | self._addmarkers(new) |
|
617 | 620 | # new marker *may* have changed several set. invalidate the cache. |
|
618 | 621 | self.caches.clear() |
General Comments 0
You need to be logged in to leave comments.
Login now