What's the url to view a file at tip through the web interface?

Brendan Cully brendan at kublai.com
Sun Feb 18 23:03:46 UTC 2007


On Sunday, 18 February 2007 at 17:02, Rob Landley wrote:
> Using 0.9.3, I'm trying to view a file at tip through the web interface.  Not 
> a specific version of the file, but a URL to always show the most recent 
> version.
> 
> Drilling down in my repository through the manifest, I can get:
>   http://landley.net/hg/firmware?f=6b6822893f99;file=sources/toys/gcc-uClibc.c
> 
> But when I try changing the version to "tip", ala:
>   http://landley.net/hg/firmware?f=tip;file=sources/toys/gcc-uClibc.c
> 
> Neither f= nor fl= seem to understand "tip", I just get a python backgrace.  I 
> suspect I'm doing this wrong, but don't know what the correct syntax is, and 
> google is being unhelpful here.
> 
> I found this from a year ago:
> http://www.arcknowledge.com/gmane.comp.version-control.mercurial.devel/2006-02/msg00051.html
> 
> But if it was relevant, I suspect it'd have been merged in the past 12 months.
> 
> Any clues?

Current (0.9.3, possibly earlier) hgweb supports URLs of the form:

http://landley.net/hg/firmware/file/tip/sources/toys/gcc-uClibc.c

but your hgweb seems to be using an earlier version.



More information about the Mercurial mailing list