av6 added a comment. Merits another patch with some simple tests. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D3649 To: nspanti-logilab, #hg-reviewers, durin42 Cc: av6, yuja, mercurial-devel