Show More
@@ -1690,6 +1690,7 b' def handleobsmarker(op, inpart):' | |||||
1690 | op.repo.ui.debug('ignoring obsolescence markers, feature not enabled') |
|
1690 | op.repo.ui.debug('ignoring obsolescence markers, feature not enabled') | |
1691 | return |
|
1691 | return | |
1692 | new = op.repo.obsstore.mergemarkers(tr, markerdata) |
|
1692 | new = op.repo.obsstore.mergemarkers(tr, markerdata) | |
|
1693 | op.repo.invalidatevolatilesets() | |||
1693 | if new: |
|
1694 | if new: | |
1694 | op.repo.ui.status(_('%i new obsolescence markers\n') % new) |
|
1695 | op.repo.ui.status(_('%i new obsolescence markers\n') % new) | |
1695 | op.records.add('obsmarkers', {'new': new}) |
|
1696 | op.records.add('obsmarkers', {'new': new}) |
@@ -789,6 +789,7 b' def pushmarker(repo, key, old, new):' | |||||
789 | tr = repo.transaction('pushkey: obsolete markers') |
|
789 | tr = repo.transaction('pushkey: obsolete markers') | |
790 | try: |
|
790 | try: | |
791 | repo.obsstore.mergemarkers(tr, data) |
|
791 | repo.obsstore.mergemarkers(tr, data) | |
|
792 | repo.invalidatevolatilesets() | |||
792 | tr.close() |
|
793 | tr.close() | |
793 | return 1 |
|
794 | return 1 | |
794 | finally: |
|
795 | finally: |
General Comments 0
You need to be logged in to leave comments.
Login now