author | Pierre-Yves David <pierre-yves.david@fb.com> |
Mon, 25 Aug 2014 18:09:54 +0200 | |
changeset 22337 | c380fe290290 |
parent 22336 | 60786c8a2f70 |
child 22338 | 8fcd56095d3b |
--- a/mercurial/bundle2.py Mon Aug 25 18:08:22 2014 +0200 +++ b/mercurial/bundle2.py Mon Aug 25 18:09:54 2014 +0200 @@ -904,4 +904,6 @@ def handleobsmarker(op, inpart): """add a stream of obsmarkers to the repo""" tr = op.gettransaction() - op.repo.obsstore.mergemarkers(tr, inpart.read()) + new = op.repo.obsstore.mergemarkers(tr, inpart.read()) + if new: + op.repo.ui.status(_('%i new obsolescence markers\n') % new)