[es] recover from Mercurial (2.0)