Show More
@@ -15,7 +15,12 b" filerevision = '\\{" | |||||
15 | lineentry = '\{ |
|
15 | lineentry = '\{ | |
16 | "line": {line|json} |
|
16 | "line": {line|json} | |
17 | }' |
|
17 | }' | |
18 | search = '"not yet implemented"' |
|
18 | search = '\{ | |
|
19 | "node": {node|json}, | |||
|
20 | "query": {query|json}, | |||
|
21 | "entries": [{join(entries%searchentry, ", ")}] | |||
|
22 | }' | |||
|
23 | searchentry = '{changelistentry}' | |||
19 | # changelog and shortlog are the same web API but with different |
|
24 | # changelog and shortlog are the same web API but with different | |
20 | # number of entries. |
|
25 | # number of entries. | |
21 | changelog = changelist.tmpl |
|
26 | changelog = changelist.tmpl |
@@ -1035,6 +1035,66 b' summary/ shows a summary of repository s' | |||||
1035 | ] |
|
1035 | ] | |
1036 | } |
|
1036 | } | |
1037 |
|
1037 | |||
|
1038 | $ request json-changelog?rev=create | |||
|
1039 | 200 Script output follows | |||
|
1040 | ||||
|
1041 | { | |||
|
1042 | "entries": [ | |||
|
1043 | { | |||
|
1044 | "bookmarks": [], | |||
|
1045 | "branch": "test-branch", | |||
|
1046 | "date": [ | |||
|
1047 | 0.0, | |||
|
1048 | 0 | |||
|
1049 | ], | |||
|
1050 | "desc": "create test branch", | |||
|
1051 | "node": "6ab967a8ab3489227a83f80e920faa039a71819f", | |||
|
1052 | "parents": [ | |||
|
1053 | "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e" | |||
|
1054 | ], | |||
|
1055 | "phase": "draft", | |||
|
1056 | "tags": [], | |||
|
1057 | "user": "test" | |||
|
1058 | }, | |||
|
1059 | { | |||
|
1060 | "bookmarks": [ | |||
|
1061 | "bookmark2" | |||
|
1062 | ], | |||
|
1063 | "branch": "default", | |||
|
1064 | "date": [ | |||
|
1065 | 0.0, | |||
|
1066 | 0 | |||
|
1067 | ], | |||
|
1068 | "desc": "create tag2", | |||
|
1069 | "node": "ceed296fe500c3fac9541e31dad860cb49c89e45", | |||
|
1070 | "parents": [ | |||
|
1071 | "f2890a05fea49bfaf9fb27ed5490894eba32da78" | |||
|
1072 | ], | |||
|
1073 | "phase": "draft", | |||
|
1074 | "tags": [], | |||
|
1075 | "user": "test" | |||
|
1076 | }, | |||
|
1077 | { | |||
|
1078 | "bookmarks": [], | |||
|
1079 | "branch": "default", | |||
|
1080 | "date": [ | |||
|
1081 | 0.0, | |||
|
1082 | 0 | |||
|
1083 | ], | |||
|
1084 | "desc": "create tag", | |||
|
1085 | "node": "93a8ce14f89156426b7fa981af8042da53f03aa0", | |||
|
1086 | "parents": [ | |||
|
1087 | "78896eb0e102174ce9278438a95e12543e4367a7" | |||
|
1088 | ], | |||
|
1089 | "phase": "public", | |||
|
1090 | "tags": [], | |||
|
1091 | "user": "test" | |||
|
1092 | } | |||
|
1093 | ], | |||
|
1094 | "node": "cc725e08502a79dd1eda913760fbe06ed7a9abc7", | |||
|
1095 | "query": "create" | |||
|
1096 | } | |||
|
1097 | ||||
1038 | filediff/{revision}/{path} shows changes to a file in a revision |
|
1098 | filediff/{revision}/{path} shows changes to a file in a revision | |
1039 |
|
1099 | |||
1040 | $ request json-diff/f8bbb9024b10/foo |
|
1100 | $ request json-diff/f8bbb9024b10/foo |
General Comments 0
You need to be logged in to leave comments.
Login now