quark added a comment. While I think hypothesis might be somehow useful. It is to generate random test cases, which is different from the efficient brute force here. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D262 To: quark, #hg-reviewers Cc: lothiraldan, mercurial-devel