topic: fix the `topic(...)` revset to not select commits without a topic
The problem seems to be that the now removed contains check would select any
revision indicated by a non-string argument. This led to topic(head())
returning a bunch of non-topic heads, though not as many as simply head()
.
I'm likely misunderstanding something, because there appears to be a similar
contains check for branch()
in core. But maybe that's just harder to see
the issue, because branch names doesn't disappear like topics.
--HG-- branch : stable
Merge request reports
Activity
mentioned in merge request !234 (closed)
By Pierre-Yves David on 2020-09-03T12:54:58 (imported from GitLab)
This is stable version of !234 (closed)
By Pierre-Yves David on 2020-09-03T12:55:24 (imported from GitLab)
assigned to @marmoute
By Pierre-Yves David on 2020-09-03T12:58:43 (imported from GitLab)