forked from mirrors/jj
d0168199f0
This serves the role of the formatter in Mercurial, but the provided features are rather restricted compared to mercurial.formatter. That's because both implementation language "Rust" and jj's template language are statically typed. The current implementation works well for simple commands like "config list -T", but it might be not okay for "branch list -T". If we implement branch templating by using the generic mechanism, the commit summary part would have to be evaluated as a separate template: -T 'branch_name ++ target_commit_summary' (target_commit_summary: Template) instead of -T 'branch_name ++ commit_summary(target_commit)' (target_commit: Commit) where the branch template language is a superset of the commit template language. |
||
---|---|---|
.. | ||
examples | ||
src | ||
testing | ||
tests | ||
build.rs | ||
Cargo.toml | ||
LICENSE |