quark accepted this revision. quark added a comment. I have simplified the fix. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D925 To: singhsrb, #hg-reviewers, quark Cc: quark, mercurial-devel