merge with stable
authorAugie Fackler <augie@google.com>
Sun, 21 May 2017 02:45:32 -0400
changeset 32425 655f1e2cfa5a
parent 32424 7640584e697c (current diff)
parent 32124 99515353c72a (diff)
child 32426 4a23cdb32968
merge with stable
mercurial/bundle2.py
mercurial/obsolete.py
--- 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: