Honor revision's branch while obtaining logs from Mercurial repo.