Mercurial > hg
comparison tests/test-hgweb-json.t @ 24715:1439bacf0ec7
json: implement {fileannotate} template
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Fri, 10 Apr 2015 22:37:40 -0400 |
parents | 84859415a4c9 |
children | 4d2b9b304ad0 |
comparison
equal
deleted
inserted
replaced
24714:84859415a4c9 | 24715:1439bacf0ec7 |
---|---|
763 annotate/{revision}/{path} shows annotations for each line | 763 annotate/{revision}/{path} shows annotations for each line |
764 | 764 |
765 $ request json-annotate/f8bbb9024b10/foo | 765 $ request json-annotate/f8bbb9024b10/foo |
766 200 Script output follows | 766 200 Script output follows |
767 | 767 |
768 "not yet implemented" | 768 { |
769 "abspath": "foo", | |
770 "annotate": [ | |
771 { | |
772 "abspath": "foo", | |
773 "author": "test", | |
774 "desc": "modify foo", | |
775 "line": "bar\n", | |
776 "lineno": 1, | |
777 "node": "f8bbb9024b10f93cdbb8d940337398291d40dea8", | |
778 "revdate": [ | |
779 0.0, | |
780 0 | |
781 ], | |
782 "targetline": 1 | |
783 } | |
784 ], | |
785 "author": "test", | |
786 "children": [], | |
787 "date": [ | |
788 0.0, | |
789 0 | |
790 ], | |
791 "desc": "modify foo", | |
792 "node": "f8bbb9024b10f93cdbb8d940337398291d40dea8", | |
793 "parents": [ | |
794 "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e" | |
795 ], | |
796 "permissions": "" | |
797 } | |
769 | 798 |
770 filelog/{revision}/{path} shows history of a single file | 799 filelog/{revision}/{path} shows history of a single file |
771 | 800 |
772 $ request json-filelog/f8bbb9024b10/foo | 801 $ request json-filelog/f8bbb9024b10/foo |
773 200 Script output follows | 802 200 Script output follows |