obssmarker: add a bundle2 record with the number of markers added
authorPierre-Yves David <pierre-yves.david@fb.com>
Mon, 25 Aug 2014 18:10:08 +0200
changeset 22338 8fcd56095d3b
parent 22337 c380fe290290
child 22339 9680da73cfe0
obssmarker: add a bundle2 record with the number of markers added
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})