# HG changeset patch # User Thomas Arendsen Hein # Date 1161031484 -7200 # Node ID 6bd676ee8b9914c349c34212728cecbb03fef73b # Parent bb00a5a92c30f0fa2f91edc39cfbeef654aa2c11 Explicitly use "tip" in revision navigation. Rationale: the tip revision is a moving target and if somebody wants tip, it should be delivered. diff -r bb00a5a92c30 -r 6bd676ee8b99 mercurial/hgweb/hgweb_mod.py --- a/mercurial/hgweb/hgweb_mod.py Mon Oct 16 15:38:53 2006 -0300 +++ b/mercurial/hgweb/hgweb_mod.py Mon Oct 16 22:44:44 2006 +0200 @@ -60,7 +60,7 @@ for label, node in l: yield {"label": label, "node": node} - yield {"label": "tip", "node": hex(nodefunc('-1').node())} + yield {"label": "tip", "node": "tip"} except hg.RepoError: pass