Mercurial > hg
comparison mercurial/statichttprepo.py @ 24544:71e96b9fd3fd
templates: add a stub template for json
Many have long wanted hgweb to emit a common machine readable output.
We start the process by defining a stub json template.
Right now, each endpoint returns a stub "not yet implemented" string.
Individual templates will be implemented in subsequent patches.
Basic tests for templates have been included. Coverage isn't perfect,
but it is better than nothing.
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Mon, 30 Mar 2015 20:15:03 -0700 |
parents | 656f93ce66d5 |
children | 7a1af58ab242 |
comparison
equal
deleted
inserted
replaced
24543:747401086a38 | 24544:71e96b9fd3fd |
---|