# HG changeset patch # User Pierre-Yves David # Date 1408983008 -7200 # Node ID 8fcd56095d3bd9952980c7c5e0f8ac22df1d5d01 # Parent c380fe290290366764a780501a3950e003f8de4c obssmarker: add a bundle2 record with the number of markers added diff -r c380fe290290 -r 8fcd56095d3b mercurial/bundle2.py --- a/mercurial/bundle2.py Mon Aug 25 18:09:54 2014 +0200 +++ b/mercurial/bundle2.py Mon Aug 25 18:10:08 2014 +0200 @@ -907,3 +907,4 @@ new = op.repo.obsstore.mergemarkers(tr, inpart.read()) if new: op.repo.ui.status(_('%i new obsolescence markers\n') % new) + op.records.add('obsmarkers', {'new': new})