mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
351f923f65
These are the same dispatch function under the hood. The only difference is the default number of entries to render and the template to use. So it makes sense to use a shared template. Format for {changelistentry} is similar to {changeset}. However, there are differences to argument names and their values preventing us from (easily) using the same template. (Perhaps there is room to consolidate the templates as a follow-up.) We're currently not recording some data in {changelistentry} that exists in {changeset}. This includes the branch name. This should be added in a follow-up. For now, something is better than nothing.
6 lines
124 B
Cheetah
6 lines
124 B
Cheetah
\{
|
|
"node": {node|json},
|
|
"changeset_count": {changesets|json},
|
|
"changesets": [{join(entries%changelistentry, ", ")}]
|
|
}
|