Mercurial > hg
view mercurial/templates/json/map @ 24563:830280536946
json: implement {changeset} template
Output only contains basic changeset information for the moment. The
format is compatible with `hg log -Tjson`.
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Tue, 31 Mar 2015 22:35:12 -0700 |
parents | 495f3e665b27 |
children | 5ec4bda3097a |
line wrap: on
line source
mimetype = 'application/json' filerevision = '"not yet implemented"' search = '"not yet implemented"' shortlog = '"not yet implemented"' changelog = '"not yet implemented"' changeset = '\{ "node": {node|json}, "date": {date|json}, "desc": {desc|json}, "branch": {if(branch, branch%changesetbranch, "default"|json)}, "bookmarks": [{join(changesetbookmark, ", ")}], "tags": [{join(changesettag, ", ")}], "user": {author|json}, "parents": [{join(parent%changesetparent, ", ")}] }' changesetbranch = '{name|json}' changesetbookmark = '{bookmark|json}' changesettag = '{tag|json}' changesetparent = '{node|json}' manifest = '"not yet implemented"' tags = '\{ "node": {node|json}, "tags": [{join(entriesnotip%tagentry, ", ")}] }' tagentry = '\{ "tag": {tag|json}, "node": {node|json}, "date": {date|json} }' bookmarks = '\{ "node": {node|json}, "bookmarks": [{join(entries%bookmarkentry, ", ")}] }' bookmarkentry = '\{ "bookmark": {bookmark|json}, "node": {node|json}, "date": {date|json} }' branches = '\{ "branches": [{join(entries%branchentry, ", ")}] }' branchentry = '\{ "branch": {branch|json}, "node": {node|json}, "date": {date|json}, "status": {status|json} }' summary = '"not yet implemented"' filediff = '"not yet implemented"' filecomparison = '"not yet implemented"' fileannotate = '"not yet implemented"' filelog = '"not yet implemented"' graph = '"not yet implemented"' helptopics = '"not yet implemented"' help = '"not yet implemented"' filenodelink = '' filenolink = ''