jj/lib
Martin von Zweigbergk c8648cb300 templater: move id prefix shortening onto a new type
I would like to copy Mercurial's way of abbreviating ids within a
user-configurable revset. We would do it for both commit ids and
change ids. For that feature, we need a place to keep the set of
commits the revset evaluates to. This commit adds a new
`IdPrefixContext` type which will eventually be that place. The new
type has functions for going back and forth between full and
abbreviated ids. I've updated the templater to use it.
2023-05-11 23:41:24 -07:00
..
benches
gen-protos cargo: bump prost-build from 0.11.8 to 0.11.9 2023-04-14 16:11:09 +00:00
src templater: move id prefix shortening onto a new type 2023-05-11 23:41:24 -07:00
tests revset: don't allow symbols in RevsetExpression::resolve() 2023-05-11 23:41:24 -07:00
testutils cargo: bump git2 from 0.17.0 to 0.17.1 2023-04-17 09:19:58 -07:00
build.rs
Cargo.toml lib: use advisory locks on Unix targets 2023-05-07 09:52:09 -07:00