martinvonz added a comment. I'll add some tests to this soon. I created the review early just so I can get feedback. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5747 To: martinvonz, #hg-reviewers Cc: mercurial-devel