[bg] recover from Mercurial (2.1)