mercurial/templates/json/map
changeset 24589 30a737ae9b7d
parent 24588 0bf54479a9eb
child 24590 0bb733dfcabe
equal deleted inserted replaced
24588:0bf54479a9eb 24589:30a737ae9b7d
    27   }'
    27   }'
    28 changesetbranch = '{name|json}'
    28 changesetbranch = '{name|json}'
    29 changesetbookmark = '{bookmark|json}'
    29 changesetbookmark = '{bookmark|json}'
    30 changesettag = '{tag|json}'
    30 changesettag = '{tag|json}'
    31 changesetparent = '{node|json}'
    31 changesetparent = '{node|json}'
    32 manifest = '"not yet implemented"'
    32 manifest = '\{
       
    33   "node": {node|json},
       
    34   "abspath": {path|json},
       
    35   "directories": [{join(dentries%direntry, ", ")}],
       
    36   "files": [{join(fentries%fileentry, ", ")}],
       
    37   "bookmarks": [{join(bookmarks%name, ", ")}],
       
    38   "tags": [{join(tags%name, ", ")}]
       
    39   }'
       
    40 name = '{name|json}'
       
    41 direntry = '\{
       
    42   "abspath": {path|json},
       
    43   "basename": {basename|json},
       
    44   "emptydirs": {emptydirs|json}
       
    45   }'
       
    46 fileentry = '\{
       
    47   "abspath": {file|json},
       
    48   "basename": {basename|json},
       
    49   "date": {date|json},
       
    50   "size": {size|json},
       
    51   "flags": {permissions|json}
       
    52   }'
    33 tags = '\{
    53 tags = '\{
    34   "node": {node|json},
    54   "node": {node|json},
    35   "tags": [{join(entriesnotip%tagentry, ", ")}]
    55   "tags": [{join(entriesnotip%tagentry, ", ")}]
    36   }'
    56   }'
    37 tagentry = '\{
    57 tagentry = '\{