Mercurial > hg
changeset 22338:8fcd56095d3b
obssmarker: add a bundle2 record with the number of markers added
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Mon, 25 Aug 2014 18:10:08 +0200 |
parents | c380fe290290 |
children | 9680da73cfe0 |
files | mercurial/bundle2.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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})