My personal configuration files and scripts.
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

jj: improve definition of slice revset alias

+4 -2
+4 -2
dot_config/jj/config.toml.tmpl
··· 16 16 private-commits = "description(glob:'private:*') | description(glob:'wip:*')" 17 17 18 18 [revset-aliases] 19 + # Select the entire branch (and all sub-branches thereof if there are merges) 20 + # that x belongs to. 19 21 "slice()" = "slice(@)" 20 - # View the entire branch (and all sub-branches thereof) that x belongs to. 21 - "slice(x)" = "ancestors(reachable(x, mutable()), 2)" 22 + "slice(x)" = "slice(x, 2)" 23 + "slice(x, n)" = "ancestors(mutable() & (..x | x::), n)" 22 24 "open()" = "open(mine())" 23 25 # The revisions in domain which are not merged into trunk(). 24 26 "open(domain)" = "domain ~ ::immutable_heads()"