map
133 lines
| 3.2 KiB
| text/plain
|
TextLexer
Gregory Szorc
|
r24544 | mimetype = 'application/json' | ||
filerevision = '"not yet implemented"' | ||||
search = '"not yet implemented"' | ||||
Gregory Szorc
|
r24588 | # changelog and shortlog are the same web API but with different | ||
# number of entries. | ||||
changelog = changelist.tmpl | ||||
shortlog = changelist.tmpl | ||||
changelistentry = '\{ | ||||
"node": {node|json}, | ||||
"date": {date|json}, | ||||
"desc": {desc|json}, | ||||
"bookmarks": [{join(bookmarks%changelistentryname, ", ")}], | ||||
"tags": [{join(tags%changelistentryname, ", ")}], | ||||
"user": {author|json} | ||||
}' | ||||
changelistentryname = '{name|json}' | ||||
Gregory Szorc
|
r24563 | 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}, | ||||
Gregory Szorc
|
r24564 | "parents": [{join(parent%changesetparent, ", ")}], | ||
"phase": {phase|json} | ||||
Gregory Szorc
|
r24563 | }' | ||
changesetbranch = '{name|json}' | ||||
changesetbookmark = '{bookmark|json}' | ||||
changesettag = '{tag|json}' | ||||
changesetparent = '{node|json}' | ||||
Gregory Szorc
|
r24589 | manifest = '\{ | ||
"node": {node|json}, | ||||
"abspath": {path|json}, | ||||
"directories": [{join(dentries%direntry, ", ")}], | ||||
"files": [{join(fentries%fileentry, ", ")}], | ||||
"bookmarks": [{join(bookmarks%name, ", ")}], | ||||
"tags": [{join(tags%name, ", ")}] | ||||
}' | ||||
name = '{name|json}' | ||||
direntry = '\{ | ||||
"abspath": {path|json}, | ||||
"basename": {basename|json}, | ||||
"emptydirs": {emptydirs|json} | ||||
}' | ||||
fileentry = '\{ | ||||
"abspath": {file|json}, | ||||
"basename": {basename|json}, | ||||
"date": {date|json}, | ||||
"size": {size|json}, | ||||
"flags": {permissions|json} | ||||
}' | ||||
Gregory Szorc
|
r24545 | tags = '\{ | ||
"node": {node|json}, | ||||
"tags": [{join(entriesnotip%tagentry, ", ")}] | ||||
}' | ||||
tagentry = '\{ | ||||
"tag": {tag|json}, | ||||
"node": {node|json}, | ||||
"date": {date|json} | ||||
}' | ||||
Gregory Szorc
|
r24546 | bookmarks = '\{ | ||
"node": {node|json}, | ||||
"bookmarks": [{join(entries%bookmarkentry, ", ")}] | ||||
}' | ||||
bookmarkentry = '\{ | ||||
"bookmark": {bookmark|json}, | ||||
"node": {node|json}, | ||||
"date": {date|json} | ||||
}' | ||||
Gregory Szorc
|
r24547 | branches = '\{ | ||
"branches": [{join(entries%branchentry, ", ")}] | ||||
}' | ||||
branchentry = '\{ | ||||
"branch": {branch|json}, | ||||
"node": {node|json}, | ||||
"date": {date|json}, | ||||
"status": {status|json} | ||||
}' | ||||
Gregory Szorc
|
r24544 | summary = '"not yet implemented"' | ||
Gregory Szorc
|
r24713 | filediff = '\{ | ||
"path": {file|json}, | ||||
"node": {node|json}, | ||||
"date": {date|json}, | ||||
"desc": {desc|json}, | ||||
"author": {author|json}, | ||||
"parents": [{join(parent%changesetparent, ", ")}], | ||||
"children": [{join(child%changesetparent, ", ")}], | ||||
"diff": [{join(diff%diffblock, ", ")}] | ||||
}' | ||||
diffblock = '\{ | ||||
"blockno": {blockno|json}, | ||||
"lines": [{join(lines, ", ")}] | ||||
}' | ||||
difflineplus = '\{ | ||||
"t": "+", | ||||
"n": {lineno|json}, | ||||
"l": {line|json} | ||||
}' | ||||
difflineminus = '\{ | ||||
"t": "-", | ||||
"n": {lineno|json}, | ||||
"l": {line|json} | ||||
}' | ||||
difflineat = '\{ | ||||
"t": "@", | ||||
"n": {lineno|json}, | ||||
"l": {line|json} | ||||
}' | ||||
diffline = '\{ | ||||
"t": "", | ||||
"n": {lineno|json}, | ||||
"l": {line|json} | ||||
}' | ||||
Gregory Szorc
|
r24544 | filecomparison = '"not yet implemented"' | ||
fileannotate = '"not yet implemented"' | ||||
filelog = '"not yet implemented"' | ||||
graph = '"not yet implemented"' | ||||
Gregory Szorc
|
r24590 | helptopics = '\{ | ||
"topics": [{join(topics%helptopicentry, ", ")}], | ||||
"earlycommands": [{join(earlycommands%helptopicentry, ", ")}], | ||||
"othercommands": [{join(othercommands%helptopicentry, ", ")}] | ||||
}' | ||||
helptopicentry = '\{ | ||||
"topic": {topic|json}, | ||||
"summary": {summary|json} | ||||
}' | ||||
Gregory Szorc
|
r24591 | help = '\{ | ||
"topic": {topic|json}, | ||||
"rawdoc": {doc|json} | ||||
}' | ||||
Gregory Szorc
|
r24544 | filenodelink = '' | ||
filenolink = '' | ||||