durin42 abandoned this revision. durin42 added a comment. Replaced by a more principled collection of refactors that has the benefit of working. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5125 To: durin42, #hg-reviewers Cc: mercurial-devel