jj/docs
Yuya Nishihara 48d10d648c revset: add unary negate (or set complement) operator '~y'
Because a unary negation node '~y' is more primitive than the corresponding
difference node 'x~y', '~y' is easier to deal with while rewriting the tree.
That's the main reason to add RevsetExpression::NotIn node.

As we have a NotIn node, it makes sense to add an operator for that. This
patch reuses '~' token, which I feel intuitive since the other set operators
looks like bitwise ops. Another option is '!'.

The unary '~' operator has the highest precedence among the set operators,
but they are lower than the ranges. This might be counter intuitive, but
useful because a prefix range ':x' can be negated without parens.

Maybe we can remove the redundant infix operator 'x ~ y', but it isn't
decided yet.
2022-11-29 15:46:15 +09:00
..
technical
branches.md templater: indicate if branch needs to be pushed to a remote 2022-11-09 22:44:55 -08:00
code-of-conduct.md
config.md feature: support relative timestamps as a config option 2022-11-27 08:35:17 +10:00
config.toml feature: support relative timestamps as a config option 2022-11-27 08:35:17 +10:00
conflicts.md conflicts: change diff line marker to %%%%%%% 2022-09-20 15:26:29 +09:00
contributing.md Polish jj development environment suggestions 2022-11-27 23:43:21 -08:00
git-comparison.md docs: describe git commit --fixup equivalent 2022-11-19 14:22:34 -08:00
git-compatibility.md feature: support git credential helpers 2022-11-19 22:06:27 -08:00
operation-log.md
related-work.md
revsets.md revset: add unary negate (or set complement) operator '~y' 2022-11-29 15:46:15 +09:00
tutorial.md log: move commit ID off to the right 2022-11-14 07:49:52 -08:00
working-copy.md cli: drop support for ui.enable-open-commits config 2022-11-05 06:14:37 -07:00