ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/src/commands
Yuya Nishihara 7090fa0374 templater: report syntax error, don't panic()
Even though the template syntax is experimental, panicking parser makes
it difficult to write tests. So let's add minimal error handling. The error
types are basically copied from the revset module.

I made write_commit_summary() fall back to the default template if user
template had syntax error. It should be better than reporting parse error
after e.g. "jj abandon" finished successfully.
2023-02-03 12:06:04 +09:00
..
branch.rs
config-schema.json Add ui.unique-prefixes and git.auto-local-branch to config schema 2023-02-01 01:21:26 -06:00
git.rs cli: report no updates to current branch 2023-01-29 22:07:28 -08:00
mod.rs templater: report syntax error, don't panic() 2023-02-03 12:06:04 +09:00
operation.rs