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

Aurelien Jacobs aurel at gnuage.org
Sun Feb 18 22:47:25 UTC 2007


On Sun, 18 Feb 2007 17:02:18 -0500
Rob Landley <rob at landley.net> 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.

Use -1 instead of tip:
  http://landley.net/hg/firmware?f=-1;file=sources/toys/gcc-uClibc.c

Aurel



More information about the Mercurial mailing list