Mercurial > hg
view mercurial/templates/json/changelist.tmpl @ 31195:6b098ac4542e
fileset: add a 'status(...)' predicate to control evaluation context
Same as 'revs', this predicate does not select files but switches the evaluation
context. This allow to match file according arbitrary status call. We can now
express the same query as 'hg status'.
The API (two 'revsingle' class) have been picked instead of a single 'revs'
revset for multiple reasons:
* it is less confusing to express
* it allow to express more query (eg: backward status, cross branch status)
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Fri, 03 Mar 2017 14:08:20 +0100 |
parents | 0bf54479a9eb |
children |
line wrap: on
line source
\{ "node": {node|json}, "changeset_count": {changesets|json}, "changesets": [{join(entries%changelistentry, ", ")}] }