changeset 3427:6bd676ee8b99

Explicitly use "tip" in revision navigation. Rationale: the tip revision is a moving target and if somebody wants tip, it should be delivered.
author Thomas Arendsen Hein <thomas@intevation.de>
date Mon, 16 Oct 2006 22:44:44 +0200
parents bb00a5a92c30
children 7012c889e8f2
files mercurial/hgweb/hgweb_mod.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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