git: `topic_latest_descendant()` needs escaping
This won't work with dashes, my bad. This is even explictely stated in hg help revset
:
revs = self.repo.revs("heads(extra(topic, %s) and descendants(%d))",
topic, ctx.rev())
Escaping rules are not very clear to me at this point. hg help revset
mentions quotes (single or double) but doesn't tell how to escape quotes (maybe they aren't allowed in topic names)