ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/cli
Yuya Nishihara 62decb76bc templater: add optional integer type
In order to port "branch list" to template, we need to somehow represent
revset.count_estimate() result as a template property. I'm going to add
SizeHint template type for that, and its .upper() and .exact() methods will
have to return optional integers.

Fortunately, the Integer type has no implicit conversion to bool, so
"if(optional_integer, ..)" is not ambiguous.
2024-05-09 08:51:34 +09:00
..
examples revset: support custom filter extensions 2024-05-06 10:42:01 -04:00
src templater: add optional integer type 2024-05-09 08:51:34 +09:00
testing revset: add support for file(kind:pattern) syntax 2024-04-07 19:43:29 +09:00
tests templater: add helper method that unwraps Option<T> property 2024-05-09 08:51:34 +09:00
build.rs build: update rerun-if conditions to watch .git/HEAD in colocated repo 2023-08-06 12:16:11 +09:00
Cargo.toml cargo: explicitly indicate paths to publish 2024-04-15 20:37:00 -07:00
LICENSE cargo: add LICENSE file to each crate we publish 2023-09-22 21:48:28 -07:00