mercurial/commands.py
changeset 3671 86d3f966201d
parent 3663 b4903debbe3b
child 3672 e8730b5b8a32
--- a/mercurial/commands.py	Wed Nov 15 23:59:39 2006 -0600
+++ b/mercurial/commands.py	Thu Nov 16 08:51:22 2006 +0100
@@ -2195,7 +2195,7 @@
 
     Show the tip revision.
     """
-    cmdutil.show_changeset(ui, repo, opts).show(repo.changelog.count()-1)
+    cmdutil.show_changeset(ui, repo, opts).show(nullrev+repo.changelog.count())
 
 def unbundle(ui, repo, fname, **opts):
     """apply a changegroup file