"hg log" for remote repositories?
Dustin Sallings
dustin at spy.net
Fri Sep 14 12:03:51 CDT 2007
On Sep 14, 2007, at 3:03 , Marcin Kasperski wrote:
> Just a looose idea: maybe it would make sense if hg serve offered
> the content not only in the form of pure HTML, but also as some
> kind of API (XML/RPC?, SOAP?, some other API over HTTP?). This way
> people could contemplate binding some GUI apps to such API.
Any of XMLRPC, SOAP, etc... would be bad.
One thing I've done in an application recently, though, was to
deliver all of the content in clean, concise XML with a stylesheet
instruction at the top. The primary use of this interface is for
writing scripts and what-not against the server data model, but with
the stylesheet, it renders quite usably in a web browser.
The nice thing here is that you should already be able to do the
same thing in hgweb by just defining a new set of templates.
--
Dustin Sallings
More information about the Mercurial
mailing list