[mercurial] fix