ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/lib
Yuya Nishihara b09732f4f8 revset, templater: split parse error constructor that sets source error object
I'm going to add RevsetParseError constructor for InvalidFunctionArguments,
with/without a source error, and I don't want to duplicate code for all
combinations. The templater change is just for consistency.

I couldn't find a good naming convention for the builder-like API, so it's
called .with_source(mut self, _). Another option was .source_set(source).
Apparently, it's not uncommon to name consuming constructor as
with_<something>().
2024-03-30 23:53:17 +09:00
..
benches
gen-protos
proc-macros cargo: mark the jj-lib-proc-macros crate for publish 2024-03-06 20:35:38 -08:00
src revset, templater: split parse error constructor that sets source error object 2024-03-30 23:53:17 +09:00
tests rewrite: update references after rewriting all commits 2024-03-25 23:00:44 -07:00
testutils
Cargo.toml test_conflicts and test_resolve_command: use indoc! to indent conflict markers in tests 2024-03-22 23:27:25 -07:00
LICENSE