https://bz.mercurial-scm.org/show_bug.cgi?id=5581 should have been closed by https://www.mercurial-scm.org/repo/hg/rev/1b25c648d5b7, but looks like it wasn't. I think this used to work a while ago -- did it break at some point?