mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
29b466d186
Previously, we constructed a formatter from a specific template topic. Then from show() we reached into the internals of the formatter to resolve a template string to be used to construct a changeset templater. A downside to this approach was it limited us to having the entire template defined in a single entry in the map file. You couldn't reference other entries in the map file and this would lead to long templates and redundancy in the map file. This commit teaches @showview how to instantiate a changeset templater so we can construct a templater with full access to the map file. To prove it works, we've split "showwork" into components. |
||
---|---|---|
.. | ||
atom | ||
coal | ||
gitweb | ||
json | ||
monoblue | ||
paper | ||
raw | ||
rss | ||
spartan | ||
static | ||
map-cmdline.bisect | ||
map-cmdline.changelog | ||
map-cmdline.compact | ||
map-cmdline.default | ||
map-cmdline.phases | ||
map-cmdline.show | ||
map-cmdline.status | ||
map-cmdline.xml |