--- a/mercurial/bundle2.py Sun May 21 13:41:01 2017 +0900
+++ b/mercurial/bundle2.py Sun May 21 02:45:32 2017 -0400
@@ -1690,6 +1690,7 @@
op.repo.ui.debug('ignoring obsolescence markers, feature not enabled')
return
new = op.repo.obsstore.mergemarkers(tr, markerdata)
+ op.repo.invalidatevolatilesets()
if new:
op.repo.ui.status(_('%i new obsolescence markers\n') % new)
op.records.add('obsmarkers', {'new': new})
--- a/mercurial/obsolete.py Sun May 21 13:41:01 2017 +0900
+++ b/mercurial/obsolete.py Sun May 21 02:45:32 2017 -0400
@@ -789,6 +789,7 @@
tr = repo.transaction('pushkey: obsolete markers')
try:
repo.obsstore.mergemarkers(tr, data)
+ repo.invalidatevolatilesets()
tr.close()
return 1
finally: