##// END OF EJS Templates
hgweb: add absolute urls for archives in json-summary
av6 -
r29458:59058549 default
parent child Browse files
Show More
@@ -114,7 +114,8 b" summary = '\\{"
114 archiveentry = '\{
114 archiveentry = '\{
115 "node": {node|json},
115 "node": {node|json},
116 "extension": {extension|json},
116 "extension": {extension|json},
117 "type": {type|json}
117 "type": {type|json},
118 "url": {"{urlbase}{url}archive/{node}{extension}"|json}
118 }'
119 }'
119 filediff = '\{
120 filediff = '\{
120 "path": {file|json},
121 "path": {file|json},
@@ -806,7 +806,8 b' summary/ shows a summary of repository s'
806 {
806 {
807 "extension": ".tar.bz2",
807 "extension": ".tar.bz2",
808 "node": "tip",
808 "node": "tip",
809 "type": "bz2"
809 "type": "bz2",
810 "url": "http://*:$HGPORT/archive/tip.tar.bz2" (glob)
810 }
811 }
811 ],
812 ],
812 "bookmarks": [
813 "bookmarks": [
General Comments 0
You need to be logged in to leave comments. Login now