comparison tests/test-push-checkheads-pruned-B3.t @ 33252:53b3a1968aa6

obsolete: reports the number of local changeset obsoleted when unbundling This is a first basic visible usage of the changes tracking in the transaction. We adds a new function computing the pre-existing changesets obsoleted by a transaction and a transaction call back displaying this information. Example output: added 1 changesets with 1 changes to 1 files (+1 heads) 3 new obsolescence markers obsoleted 1 changesets The goal is to evolve the transaction summary into something bigger, gathering existing output there and adding new useful one. This patch is a good first step on this road. The new output is basic but give a user to the content of tr.changes['obsmarkers'] and give an idea of the new options we haves. I expect to revisit the message soon. The caller recording the transaction summary should also be moved into a more generic location but further refactoring is needed before it can happen.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 28 Jun 2017 03:54:19 +0200
parents fe83cb0dcafa
children b11e8c67fb0f
comparison
equal deleted inserted replaced
33251:a5cb2e4460de 33252:53b3a1968aa6
79 adding changesets 79 adding changesets
80 adding manifests 80 adding manifests
81 adding file changes 81 adding file changes
82 added 1 changesets with 1 changes to 1 files (+1 heads) 82 added 1 changesets with 1 changes to 1 files (+1 heads)
83 2 new obsolescence markers 83 2 new obsolescence markers
84 obsoleted 2 changesets
84 85
85 $ cd ../.. 86 $ cd ../..
86 87