mercurial/obsolete.py
changeset 33251 a5cb2e4460de
parent 33244 fd50788a2d4f
child 33273 5724aaa99dd6
--- a/mercurial/obsolete.py	Fri Jun 30 03:44:04 2017 +0200
+++ b/mercurial/obsolete.py	Tue Jun 27 02:45:09 2017 +0200
@@ -613,6 +613,9 @@
                 # XXX: f.close() == filecache invalidation == obsstore rebuilt.
                 # call 'filecacheentry.refresh()'  here
                 f.close()
+            addedmarkers = transaction.changes.get('obsmarkers')
+            if addedmarkers is not None:
+                addedmarkers.update(new)
             self._addmarkers(new)
             # new marker *may* have changed several set. invalidate the cache.
             self.caches.clear()