HTTP url for heads of files

Alex Black alex at alexblack.ca
Thu Jan 6 10:24:21 CST 2011


I'd like to access the heads of files on a given branch via a url, e.g.
http://host/hg/
<branch>/files/project/src/main/java/com/acme/package/myfile.java

This way anyone or any application could access the latest version of a file
in a repository via HTTP.

I've looked a bit and it doesn't look like hg serve has this feature,
instead all urls have a changeset ID on them.  Is there a way to do this
with hg serve, or are there addons or 3rd party tools that might support
this?

- Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial/attachments/20110106/044e591b/attachment.htm>


More information about the Mercurial mailing list