dynamic and tags hg serve

Matt Mackall mpm at selenic.com
Fri Nov 26 15:45:40 UTC 2010


On Fri, 2010-11-26 at 10:31 +0100, Felix Dorner wrote:
> Hi,
> 
> I tested to fetch the raw file contents of a certain tag revision via
> hg serve and wget -qO-
> http://localhost:8000/raw-file/translations/test.txt
> The tag here is 'translations'. If I now switch that tag to another
> revision via "hg tag -lf -r 3 translations", and fetch the file again,
> hg serve still gives me the old version.

hgweb doesn't monitor changes in localtags while running. But you can
trick it into rereading everything by doing:

touch .hg/store/00changelog.i

-- 
Mathematics is the supreme nostalgia of our time.





More information about the Mercurial mailing list