rdamazio added a comment. Oops, my oversight - what's passed to cmp is not the same that's compared to None in that if :) I have even less confidence on this now. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5409 To: rdamazio, #hg-reviewers Cc: yuja, mercurial-devel