equal
deleted
inserted
replaced
1688 # we want to avoid this if the part is advisory. |
1688 # we want to avoid this if the part is advisory. |
1689 if not inpart.mandatory and op.repo.obsstore.readonly: |
1689 if not inpart.mandatory and op.repo.obsstore.readonly: |
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}) |
1696 if op.reply is not None: |
1697 if op.reply is not None: |
1697 rpart = op.reply.newpart('reply:obsmarkers') |
1698 rpart = op.reply.newpart('reply:obsmarkers') |