Mercurial > evolve
diff CHANGELOG @ 4061:ad4194399b47
topic: handle ambiguous arguments to topic() revset
These arguments can be interpreted as either string or a revset. The decision
is made based on existence of topic with such a name. This matches the behavior
of branch() revset.
The code needs to know all topics that ever existed in the repo, because some
commands report "disappearance" of topics after certain operations, using this
revset (e.g. via stack.stack or repo.revs).
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Thu, 30 Aug 2018 21:05:17 +0800 |
parents | 235f15c40556 |
children | c53bf38e2e5a |
line wrap: on
line diff
--- a/CHANGELOG Thu Aug 30 20:21:17 2018 +0800 +++ b/CHANGELOG Thu Aug 30 21:05:17 2018 +0800 @@ -8,6 +8,11 @@ * pick: rename the "grab" command to "pick" to avoid ambiguity with graft * discovery: enable obshashrange based discovery by default +topic + + * revset: `topic("patterns")` now handle standard patterns ("re:", etc) + * revset: `topic(REVS)` matches revisions with same topic as REVS + 8.1.2 -- 2018-08-28 -------------------