##// END OF EJS Templates
hgweb: add files to the json changeset template...
Jordi Gutiérrez Hermoso -
r44116:6feaee05 default
parent child Browse files
Show More
@@ -65,6 +65,7 b" changeset = '\\{"
65 65 "tags": [{join(changesettag, ", ")}],
66 66 "user": {author|utf8|json},
67 67 "parents": [{join(parent%changesetparent, ", ")}],
68 "files": [{join(files, ", ")}],
68 69 "phase": {phase|json}
69 70 }'
70 71 changesetbranch = '{name|utf8|json}'
@@ -229,8 +230,11 b" help = '\\{"
229 230 "topic": {topic|utf8|json},
230 231 "rawdoc": {doc|utf8|json}
231 232 }'
232 filenodelink = ''
233 filenolink = ''
233 filenodelink = '\{
234 "file": {file|json},
235 "status": {status|json}
236 }'
237 filenolink = '{filenodelink}'
234 238 index = '\{
235 239 "entries": [{join(entries%indexentry, ", ")}]
236 240 }'
@@ -782,6 +782,12 b' changeset/ renders the tip changeset'
782 782 0
783 783 ],
784 784 "desc": "merge test-branch into default",
785 "files": [
786 {
787 "file": "foo-new",
788 "status": "modified"
789 }
790 ],
785 791 "node": "cc725e08502a79dd1eda913760fbe06ed7a9abc7",
786 792 "parents": [
787 793 "ceed296fe500c3fac9541e31dad860cb49c89e45",
@@ -807,6 +813,16 b' changeset/{revision} shows tags'
807 813 0
808 814 ],
809 815 "desc": "move foo",
816 "files": [
817 {
818 "file": "foo",
819 "status": "removed"
820 },
821 {
822 "file": "foo-new",
823 "status": "added"
824 }
825 ],
810 826 "node": "78896eb0e102174ce9278438a95e12543e4367a7",
811 827 "parents": [
812 828 "8d7c456572acf3557e8ed8a07286b10c408bcec5"
@@ -833,6 +849,12 b' changeset/{revision} shows bookmarks'
833 849 0
834 850 ],
835 851 "desc": "modify da/foo",
852 "files": [
853 {
854 "file": "da/foo",
855 "status": "modified"
856 }
857 ],
836 858 "node": "8d7c456572acf3557e8ed8a07286b10c408bcec5",
837 859 "parents": [
838 860 "f8bbb9024b10f93cdbb8d940337398291d40dea8"
@@ -855,6 +877,12 b' changeset/{revision} shows branches'
855 877 0
856 878 ],
857 879 "desc": "create test branch",
880 "files": [
881 {
882 "file": "foo",
883 "status": "modified"
884 }
885 ],
858 886 "node": "6ab967a8ab3489227a83f80e920faa039a71819f",
859 887 "parents": [
860 888 "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e"
General Comments 0
You need to be logged in to leave comments. Login now