dynamic and tags hg serve

Felix Dorner fdorner at tuenti.com
Fri Nov 26 03:31:11 CST 2010


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. If I restart hg serve, and
fetch the file again, the correct version is served. I know that Maybe
 the best way to overcome this issue is to not change tag revisions,
but I'm seeing this as a feature and it serves greatly cover a certain
issue we have in our workflow, and, well, changing workflows takes
looooooong. Anyone knows if I can disable this caching feature of hg
serve?

Thanks for your help.
Felix


More information about the Mercurial mailing list