forked from mirrors/jj
7090fa0374
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. |
||
---|---|---|
.. | ||
branch.rs | ||
config-schema.json | ||
git.rs | ||
mod.rs | ||
operation.rs |