Mercurial > evolve
diff CHANGELOG @ 5507:95478db35f88 stable
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.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Tue, 01 Sep 2020 23:35:43 -0400 |
parents | 77c0ddd6f172 |
children | 2df762b9c0c5 |
line wrap: on
line diff
--- a/CHANGELOG Sat Aug 22 07:24:46 2020 +0800 +++ b/CHANGELOG Tue Sep 01 23:35:43 2020 -0400 @@ -10,6 +10,8 @@ * split: correctly handle discard action after previously splitting changes into more than one commit + * revset: no longer changeset without topic when running `topic(REVSET)` + 10.0.1 -- 2020-07-31 --------------------